Ti-ARS: T can no longer floorkick the air

This commit is contained in:
Ishaan Bhardwaj 2020-12-05 18:32:06 -05:00
parent f4779c9847
commit 1f686fb5d4

View File

@ -70,6 +70,7 @@ function ARS:attemptWallkicks(piece, new_piece, rot_dir, grid)
elseif piece.shape == "T"
and new_piece.rotation == 0
and piece.floorkick == 0
and piece:isDropBlocked(grid)
and grid:canPlacePiece(new_piece:withOffset({x=0, y=-1}))
then
-- T floorkick