closing qol on sega too

This commit is contained in:
Ishaan Bhardwaj 2020-11-12 16:12:47 -05:00 committed by GitHub
parent b70c31629b
commit 40cf11d270
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,7 +93,7 @@ function MarathonC88Game:updateScore(level, drop_bonus, cleared_lines)
self.level_lines = self.level_lines + cleared_lines self.level_lines = self.level_lines + cleared_lines
self.lines = self.lines + cleared_lines self.lines = self.lines + cleared_lines
self.line_clears = self.line_clears + 1 self.line_clears = self.line_clears + 1
if (cleared_lines == 4) then self.tetrises = self.tetrises + 1 if (cleared_lines == 4) then self.tetrises = self.tetrises + 1 end
if (cleared_lines == 0 and self.level_timer >= self:getLevelTimerLimit()) or (self.level_lines >= 4) then if (cleared_lines == 0 and self.level_timer >= self:getLevelTimerLimit()) or (self.level_lines >= 4) then
self.level = self.level + 1 self.level = self.level + 1
self.level_lines = 0 self.level_lines = 0