Fixed a lines display bug

This commit is contained in:
Ishaan Bhardwaj 2021-02-12 22:29:29 -05:00
parent da274e37bb
commit 3e4466cefc

View File

@ -88,6 +88,7 @@ function ProGame:onLineClear(cleared_row_count)
self:updateSectionTimes(self.lines, new_lines) self:updateSectionTimes(self.lines, new_lines)
self.lines = math.min(new_lines, 200) self.lines = math.min(new_lines, 200)
if self.lines == 200 then if self.lines == 200 then
self.clear = true
self.completed = true self.completed = true
else else
self.enable_hold = self.lines < 160 self.enable_hold = self.lines < 160