Fixed T-floorkick behavior in Ti/ACE ARS

This commit is contained in:
Ishaan Bhardwaj
2021-02-18 21:04:03 -05:00
parent ef6d156d38
commit cb2b693bcb
3 changed files with 7 additions and 1 deletions

View File

@@ -34,6 +34,9 @@ function ARS:onPieceRotate(piece, grid)
end
if piece.floorkick >= 1 then
piece.floorkick = piece.floorkick + 1
if piece:isDropBlocked(grid) then
piece.locked = true
end
end
end