From 704e6dae555b0871d4dcf9f4afca292bf5dc7344 Mon Sep 17 00:00:00 2001 From: Joe Z Date: Fri, 31 May 2019 23:24:57 -0400 Subject: [PATCH] Fixed the pacer test mode's backgrounds and strikes. --- tetris/modes/pacer_test.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tetris/modes/pacer_test.lua b/tetris/modes/pacer_test.lua index 07ebb7d..6b34531 100644 --- a/tetris/modes/pacer_test.lua +++ b/tetris/modes/pacer_test.lua @@ -113,7 +113,7 @@ function PacerTest:checkSectionStatus() self.section_clear = false else self.strikes = self.strikes + 1 - if self.strikes >= 200 then + if self.strikes >= 2 then self.game_over = true fadeoutBGM(2.5) end @@ -164,7 +164,7 @@ function PacerTest:drawScoringInfo() end function PacerTest:getBackground() - return self.level - 1 + return math.min(self.level - 1, 20) end return PacerTest