Skip to content

Commit

Permalink
fix ms rating color
Browse files Browse the repository at this point in the history
  • Loading branch information
Vortex2Oblivion committed Nov 20, 2024
1 parent c5e7509 commit fa9f0d1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions source/states/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -2874,12 +2874,10 @@ class PlayState extends MusicBeatState {
accuracyText.text = noteMath + " ms" + (Options.getData("botplay") ? " (BOT)" : "");
accuracyText.setPosition(initRatingX + Options.getData("accuracyTextOffset")[0], initRatingY + 100 + Options.getData("accuracyTextOffset")[1]);

if(noteMath != 0)
accuracyText.color = FlxColor.PINK;
else if (Math.abs(noteMath) == noteMath)
if (Math.abs(noteMath) == noteMath)
accuracyText.color = FlxColor.CYAN;
else
accuracyText.color = 0xFF8800;
accuracyText.color = FlxColor.PINK;

accuracyText.borderStyle = FlxTextBorderStyle.OUTLINE;
accuracyText.borderSize = 1;
Expand Down

0 comments on commit fa9f0d1

Please sign in to comment.