mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 19:59:02 -06:00
Ti-ARS: T can no longer floorkick the air
This commit is contained in:
parent
f4779c9847
commit
1f686fb5d4
@ -70,6 +70,7 @@ function ARS:attemptWallkicks(piece, new_piece, rot_dir, grid)
|
|||||||
elseif piece.shape == "T"
|
elseif piece.shape == "T"
|
||||||
and new_piece.rotation == 0
|
and new_piece.rotation == 0
|
||||||
and piece.floorkick == 0
|
and piece.floorkick == 0
|
||||||
|
and piece:isDropBlocked(grid)
|
||||||
and grid:canPlacePiece(new_piece:withOffset({x=0, y=-1}))
|
and grid:canPlacePiece(new_piece:withOffset({x=0, y=-1}))
|
||||||
then
|
then
|
||||||
-- T floorkick
|
-- T floorkick
|
||||||
|
Loading…
Reference in New Issue
Block a user