Fixed an edge case with last commit
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
|
||||
playSE("bottom")
|
||||
end
|
||||
if piece.position.y ~= y then
|
||||
if instant and piece.position.y ~= y then
|
||||
self:onPieceDrop(piece, grid)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue