Minor fixes to TGM modes

This commit is contained in:
Ishaan Bhardwaj
2020-10-30 21:28:39 -04:00
parent be59727ca5
commit f91cd99dfd
3 changed files with 11 additions and 11 deletions

View File

@@ -88,7 +88,7 @@ function SurvivalA2Game:advanceOneFrame()
end
function SurvivalA2Game:onPieceEnter()
if (self.level % 100 ~= 99 or self.level == 998) and not self.clear and self.frames ~= 0 then
if (self.level % 100 ~= 99 or self.level ~= 998) and not self.clear and self.frames ~= 0 then
self.level = self.level + 1
end
end