Marathon 2020 colour function removed

This commit is contained in:
Ishaan Bhardwaj
2020-12-06 11:27:44 -05:00
parent 4afe9f2bd4
commit 696da3fa3f
2 changed files with 2 additions and 13 deletions

View File

@@ -524,7 +524,7 @@ function GameMode:drawSectionTimes(current_section)
love.graphics.printf(formatTime(self.frames - self.section_start_time), section_x, 40 + 20 * current_section, 90, "left")
end
function GameMode:drawSectionTimesWithSecondary(current_section, section_colour_function)
function GameMode:drawSectionTimesWithSecondary(current_section)
local section_x = 530
local section_secondary_x = 440
@@ -535,9 +535,6 @@ function GameMode:drawSectionTimesWithSecondary(current_section, section_colour_
end
for section, time in pairs(self.secondary_section_times) do
if self.section_colour_function then
love.graphics.setColor(self:section_colour_function(section))
end
if section > 0 then
love.graphics.printf(formatTime(time), section_secondary_x, 40 + 20 * section, 90, "left")
end