Fixed a bug with Mizu RS
parent
c896bdfdd1
commit
21beb5e3c0
|
@ -140,6 +140,7 @@ function MizuRS:onPieceMove(piece, grid)
|
||||||
end
|
end
|
||||||
|
|
||||||
function MizuRS:onPieceRotate(piece, grid)
|
function MizuRS:onPieceRotate(piece, grid)
|
||||||
|
self:checkNewLow(piece)
|
||||||
if piece:isDropBlocked(grid) then
|
if piece:isDropBlocked(grid) then
|
||||||
piece.lock_delay = math.max((piece.lock_delay - piece.ldincrease), 0)
|
piece.lock_delay = math.max((piece.lock_delay - piece.ldincrease), 0)
|
||||||
piece.ldincrease = piece.ldincrease - 1
|
piece.ldincrease = piece.ldincrease - 1
|
||||||
|
|
Loading…
Reference in New Issue