mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 17:29:03 -06:00
Fixed the pacer test mode's backgrounds and strikes.
This commit is contained in:
parent
19d1686b9d
commit
704e6dae55
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user