Made it so that level 900 no longer displays 1000 on the bottom where it should display 999.

This commit is contained in:
Joe Z
2019-05-29 22:27:50 -04:00
parent 956e826bb2
commit 5a1b137c2a
8 changed files with 8 additions and 8 deletions

View File

@@ -144,7 +144,7 @@ function IntervalTrainingGame:drawScoringInfo()
end
function IntervalTrainingGame:getSectionEndLevel()
if self.level > 900 then return 999
if self.level >= 900 then return 999
else return math.floor(self.level / 100 + 1) * 100 end
end