Fixed a bug where you could not get M-roll in A2

This commit is contained in:
Ishaan Bhardwaj
2021-01-14 19:34:02 -05:00
parent 664bca2282
commit a33ca1af24
2 changed files with 5 additions and 6 deletions

View File

@@ -130,6 +130,9 @@ end
function MarathonA2Game:updateScore(level, drop_bonus, cleared_lines)
if not self.clear then
self:updateGrade(cleared_lines)
if cleared_lines >= 4 then
self.tetris_requirements[math.floor(level / 100)] = self.tetris_requirements[math.floor(level / 100)] + 1
end
if self.grid:checkForBravo(cleared_lines) then self.bravo = 4 else self.bravo = 1 end
if cleared_lines > 0 then
self.combo = self.combo + (cleared_lines - 1) * 2