Fix wrong color in Best Time for some MBU levels

This commit is contained in:
Terry Hearst 2023-02-14 20:30:41 -05:00
parent 81708632cc
commit 74c7125e9c

View file

@ -783,7 +783,7 @@ class PlayMissionGui extends GuiImage {
if (topScore.time < currentMission.ultimateTime) {
scoreColor = "#FFCC33";
} else if (topScore.time < currentMission.goldTime) {
if (currentMission.game == "gold" || currentMission.game == "Ultra")
if (currentMission.game == "gold" || currentMission.game.toLowerCase() == "ultra")
scoreColor = "#FFFF00"
else
scoreColor = "#CCCCCC";