Fixed a bug with Mizu RS

pull/4/head
Ishaan Bhardwaj 2021-06-16 13:48:56 -04:00
parent c896bdfdd1
commit 21beb5e3c0
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ function MizuRS:onPieceMove(piece, grid)
end
function MizuRS:onPieceRotate(piece, grid)
self:checkNewLow(piece)
if piece:isDropBlocked(grid) then
piece.lock_delay = math.max((piece.lock_delay - piece.ldincrease), 0)
piece.ldincrease = piece.ldincrease - 1