Skip to content

Commit

Permalink
Simplify to white
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS committed Aug 29, 2024
1 parent 65afdde commit 5e1acba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/Jailbreak.Rebel/RebelManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private Color getRebelColor(CCSPlayerController player) {
var percent = getRebelTimePercentage(player);
var percentRgb = 255 - (int)Math.Round(percent * 255.0);
var color = Color.FromArgb(255, 255, percentRgb, percentRgb);
if (percent <= 0) color = Color.FromArgb(255, 255, 255, 255);
if (percent <= 0) color = Color.White;

return color;
}
Expand Down

0 comments on commit 5e1acba

Please sign in to comment.