mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 17:19:02 -06:00
Fixed an edge case with last commit
This commit is contained in:
parent
3766149cb7
commit
d4b619da89
@ -152,7 +152,7 @@ function Ruleset:movePiece(piece, grid, move, instant)
|
|||||||
if not was_drop_blocked and piece:isDropBlocked(grid) then
|
if not was_drop_blocked and piece:isDropBlocked(grid) then
|
||||||
playSE("bottom")
|
playSE("bottom")
|
||||||
end
|
end
|
||||||
if piece.position.y ~= y then
|
if instant and piece.position.y ~= y then
|
||||||
self:onPieceDrop(piece, grid)
|
self:onPieceDrop(piece, grid)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user