Marathon 2020 section colour function fixed

This commit is contained in:
Ishaan Bhardwaj
2020-12-06 11:38:45 -05:00
parent 696da3fa3f
commit 40a2e78280
2 changed files with 14 additions and 0 deletions

View File

@@ -423,6 +423,14 @@ function Marathon2020Game:drawGrid()
end
end
function Marathon2020Game:sectionColourFunction(section)
if self.section_status[section] == "cool" then
return { 0, 1, 0, 1 }
else
return { 1, 1, 1, 1 }
end
end
function Marathon2020Game:drawScoringInfo()
Marathon2020Game.super.drawScoringInfo(self)