Ti and ACE floorkick fix

This commit is contained in:
Ishaan Bhardwaj
2020-11-21 21:48:45 -05:00
parent 7abb861446
commit 7b496d9412
3 changed files with 25 additions and 4 deletions

View File

@@ -149,6 +149,15 @@ end
function ARS:onPieceDrop(piece, grid)
piece.lock_delay = 0 -- step reset
if piece.floorkick >= 2 and piece:isDropBlocked(grid) then
piece.locked = true
end
end
function ARS:onPieceRotate(piece, grid)
if piece.floorkick >= 1 then
piece.floorkick = piece.floorkick + 1
end
end
function ARS:get180RotationValue()