From 88d2f0d8d1b08932595252511363fad08fffd7bb Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Tue, 17 Nov 2020 13:50:38 -0500 Subject: [PATCH] Made ARE canceling more consistent. --- tetris/modes/gamemode.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tetris/modes/gamemode.lua b/tetris/modes/gamemode.lua index f97a426..298cbb4 100644 --- a/tetris/modes/gamemode.lua +++ b/tetris/modes/gamemode.lua @@ -280,12 +280,11 @@ function GameMode:processDelays(inputs, ruleset, drop_speed) elseif self.are > 0 then self.are = self.are - 1 if ruleset.are_cancel and - self.prev_inputs["up"] and (inputs["left"] or inputs["right"] or inputs["rotate_left"] or inputs["rotate_left2"] or inputs["rotate_right"] or inputs["rotate_right2"] or inputs["rotate_180"]) then - self.are = 1 + self.are = 0 end if self.are == 0 then self:initializeOrHold(inputs, ruleset)