mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 17:49:02 -06:00
Fixed a Ti-ARS floorkick issue
This commit is contained in:
parent
5ddc6ec561
commit
3cf496ba98
@ -94,11 +94,10 @@ function ARS:onPieceDrop(piece, grid)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function ARS:onPieceRotate(piece, grid)
|
function ARS:onPieceRotate(piece, grid)
|
||||||
if piece.floorkick >= 1 then
|
if piece.floorkick >= 2 and piece:isDropBlocked(grid) then
|
||||||
piece.floorkick = piece.floorkick + 1
|
|
||||||
if piece:isDropBlocked(grid) then
|
|
||||||
piece.locked = true
|
piece.locked = true
|
||||||
end
|
elseif piece.floorkick >= 1 then
|
||||||
|
piece.floorkick = piece.floorkick + 1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user