Fixed an edge case with last commit

pull/17/head
Ishaan Bhardwaj 2021-04-08 13:17:34 -04:00
parent 3766149cb7
commit d4b619da89
1 changed files with 1 additions and 1 deletions

View File

@ -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