From b568c0fe699061dc46b86fb896d48d3769834867 Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Sun, 7 Mar 2021 09:49:07 -0500 Subject: [PATCH] Removed the credit roll from AX --- tetris/modes/survival_ax.lua | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/tetris/modes/survival_ax.lua b/tetris/modes/survival_ax.lua index c8c3adc..f3c37ac 100644 --- a/tetris/modes/survival_ax.lua +++ b/tetris/modes/survival_ax.lua @@ -15,7 +15,6 @@ SurvivalAXGame.tagline = "Can you clear the time hurdles when the game goes this function SurvivalAXGame:new() SurvivalAXGame.super:new() - self.roll_frames = 0 self.randomizer = Bag7NoSZOStartRandomizer() self.section_time_limit = 3600 @@ -75,14 +74,7 @@ function SurvivalAXGame:getSection() end function SurvivalAXGame:advanceOneFrame() - if self.clear then - self.roll_frames = self.roll_frames + 1 - if self.roll_frames < 0 then - return false - elseif self.roll_frames > 2968 then - self.completed = true - end - elseif self.ready_frames == 0 then + if self.ready_frames == 0 then if not self.section_clear then self.frames = self.frames + 1 end @@ -101,7 +93,7 @@ function SurvivalAXGame:onLineClear(cleared_row_count) if self.lines == 150 then self.grid:clear() self.clear = true - self.roll_frames = -150 + self.completed = true end end end