Merge pull request #15 from thearst3rd/mbp-colorfix2

MBP - Fix wrong color in Best Time for some MBU levels
This commit is contained in:
RandomityGuy 2023-02-15 22:51:01 +05:30 committed by GitHub
commit a8f36317c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -828,7 +828,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";