check_new_low doesn't exist!

This commit is contained in:
Ishaan Bhardwaj 2021-01-28 21:15:04 -05:00
parent 4f574e7716
commit e8904b92ed

View File

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