Skip to content

Commit

Permalink
Update pingtracker alpha in-game
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexejhero authored and js6pak committed Aug 17, 2024
1 parent eb7b06c commit 58268f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Reactor/Patches/ReactorPingTracker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ public static class ReactorPingTracker
{
private readonly struct ModIdentifier(string modName, string version, bool isDevBuild, Func<bool>? shouldShow)
{
private static string NormalColor => !AmongUsClient.Instance.IsGameStarted ? "#fff" : "#fff8";
private static string DevColor => !AmongUsClient.Instance.IsGameStarted ? "#f00" : "#f008";
private static string NormalColor => !AmongUsClient.Instance.IsGameStarted ? "#fff" : "#fff7";
private static string DevColor => !AmongUsClient.Instance.IsGameStarted ? "#f00" : "#f007";

public string ModName => modName;
public string Text => $"</noparse><color={(isDevBuild ? DevColor : NormalColor)}><noparse>{ModName} {version}</noparse></color><noparse>";
Expand Down

0 comments on commit 58268f4

Please sign in to comment.