Added "Always reverse" option for rotation reversal.

This commit is contained in:
Joe Zeng
2020-11-06 19:17:32 -05:00
parent f52da36bf7
commit 9b04e14388
10 changed files with 61 additions and 12 deletions

View File

@@ -172,7 +172,14 @@ function ARS:onPieceRotate(piece, grid)
end
end
function ARS:get180RotationValue() return 3 end
function ARS:get180RotationValue()
if config.gamesettings.world_reverse == 3 then
return 3
else
return 1
end
end
function ARS:getDefaultOrientation() return 3 end -- downward facing pieces by default
return ARS