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

@@ -185,5 +185,12 @@ function SRS:onPieceRotate(piece, grid)
end
end
function SRS:get180RotationValue() return 3 end
function SRS:get180RotationValue()
if config.gamesettings.world_reverse == 1 then
return 1
else
return 3
end
end
return SRS