last commit to core modes before release

This commit is contained in:
Ishaan Bhardwaj
2020-11-03 12:17:36 -05:00
parent c8544975d6
commit 468025fc80
2 changed files with 6 additions and 6 deletions

View File

@@ -15,6 +15,7 @@ IntervalTrainingGame.tagline = "Can you clear the time hurdles when the game goe
function IntervalTrainingGame:new()
self.level = 0
IntervalTrainingGame.super:new()
self.roll_frames = 0
self.combo = 1
@@ -77,7 +78,7 @@ function IntervalTrainingGame:advanceOneFrame()
end
function IntervalTrainingGame:onPieceEnter()
if (self.level % 100 ~= 99 or self.level == 998) and not self.clear and self.frames ~= 0 then
if (self.level % 100 ~= 99 and self.level ~= 998) and not self.clear and self.frames ~= 0 then
self.level = self.level + 1
end
end