Ti-ARS autolock fix

pull/16/head
Ishaan Bhardwaj 2021-02-16 16:19:51 -05:00
parent 66ab5992ad
commit 6e22e3d15b
1 changed files with 3 additions and 0 deletions

View File

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