From 5e1acba8bd6283d66cfb970bfdf40ef9245a2ed6 Mon Sep 17 00:00:00 2001 From: MSWS Date: Wed, 28 Aug 2024 18:57:17 -0700 Subject: [PATCH] Simplify to white --- mod/Jailbreak.Rebel/RebelManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/Jailbreak.Rebel/RebelManager.cs b/mod/Jailbreak.Rebel/RebelManager.cs index 0f884ffb..f99d6b64 100644 --- a/mod/Jailbreak.Rebel/RebelManager.cs +++ b/mod/Jailbreak.Rebel/RebelManager.cs @@ -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; }