From aea115d953e027c091720e912624ffc3d236fee9 Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Fri, 4 Dec 2020 11:22:32 -0500 Subject: [PATCH] ACE-SRS has correct number of resets --- tetris/rulesets/arika_srs.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tetris/rulesets/arika_srs.lua b/tetris/rulesets/arika_srs.lua index fc52295..5777b77 100755 --- a/tetris/rulesets/arika_srs.lua +++ b/tetris/rulesets/arika_srs.lua @@ -168,7 +168,7 @@ function SRS:onPieceMove(piece, grid) piece.lock_delay = 0 -- move reset if piece:isDropBlocked(grid) then piece.manipulations = piece.manipulations + 1 - if piece.manipulations >= 127 then + if piece.manipulations >= 128 then piece.locked = true end end @@ -178,7 +178,7 @@ function SRS:onPieceRotate(piece, grid) piece.lock_delay = 0 -- rotate reset if piece:isDropBlocked(grid) then piece.manipulations = piece.manipulations + 1 - if piece.manipulations >= 127 then + if piece.manipulations >= 128 then piece.locked = true end end