Fixed the pacer test mode's backgrounds and strikes.

This commit is contained in:
Joe Z 2019-05-31 23:24:57 -04:00
parent 19d1686b9d
commit 704e6dae55

View File

@ -113,7 +113,7 @@ function PacerTest:checkSectionStatus()
self.section_clear = false self.section_clear = false
else else
self.strikes = self.strikes + 1 self.strikes = self.strikes + 1
if self.strikes >= 200 then if self.strikes >= 2 then
self.game_over = true self.game_over = true
fadeoutBGM(2.5) fadeoutBGM(2.5)
end end
@ -164,7 +164,7 @@ function PacerTest:drawScoringInfo()
end end
function PacerTest:getBackground() function PacerTest:getBackground()
return self.level - 1 return math.min(self.level - 1, 20)
end end
return PacerTest return PacerTest