mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 18:59:03 -06:00
check_new_low doesn't exist!
This commit is contained in:
parent
4f574e7716
commit
e8904b92ed
@ -12,7 +12,7 @@ SRS.MANIPULATIONS_MAX = 15
|
|||||||
|
|
||||||
function SRS:onPieceRotate(piece, grid)
|
function SRS:onPieceRotate(piece, grid)
|
||||||
piece.lock_delay = 0 -- rotate reset
|
piece.lock_delay = 0 -- rotate reset
|
||||||
self:check_new_low(piece)
|
self:checkNewLow(piece)
|
||||||
piece.manipulations = piece.manipulations + 1
|
piece.manipulations = piece.manipulations + 1
|
||||||
if piece:isDropBlocked(grid) then
|
if piece:isDropBlocked(grid) then
|
||||||
if piece.manipulations >= SRS.MANIPULATIONS_MAX then
|
if piece.manipulations >= SRS.MANIPULATIONS_MAX then
|
||||||
|
Loading…
Reference in New Issue
Block a user