mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 19:29:02 -06:00
Ti-ARS autolock fix
This commit is contained in:
parent
66ab5992ad
commit
6e22e3d15b
@ -96,6 +96,9 @@ end
|
|||||||
function ARS:onPieceRotate(piece, grid)
|
function ARS:onPieceRotate(piece, grid)
|
||||||
if piece.floorkick >= 1 then
|
if piece.floorkick >= 1 then
|
||||||
piece.floorkick = piece.floorkick + 1
|
piece.floorkick = piece.floorkick + 1
|
||||||
|
if piece:isDropBlocked(grid) then
|
||||||
|
piece.locked = true
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user