2020, A2, A3 section time draw fixes

This commit is contained in:
Ishaan Bhardwaj
2021-01-25 22:26:55 -05:00
parent 0b6f62d50e
commit b22f671409
4 changed files with 21 additions and 18 deletions

View File

@@ -256,8 +256,10 @@ end
local function getSectionForLevel(level)
if level < 2001 then
return math.floor(level / 100) + 1
else
elseif level < 2020 then
return 20
else
return 21
end
end
@@ -442,7 +444,7 @@ function Marathon2020Game:drawScoringInfo()
love.graphics.printf("GRADE PTS.", text_x, 200, 90, "left")
love.graphics.printf("LEVEL", text_x, 320, 40, "left")
self:drawSectionTimesWithSecondary(current_section)
self:drawSectionTimesWithSecondary(current_section, 20)
if (self.cool_timer > 0) then
love.graphics.printf("COOL!!", 64, 400, 160, "center")