Skip to content

Commit

Permalink
Update PlayerControlPatch.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
impostor4291 authored Jan 17, 2025
1 parent a1c8a67 commit 38547f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Patches/PlayerControlPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1328,9 +1328,9 @@ public static Task DoPostfix(PlayerControl __instance)
if (!PlayerControl.LocalPlayer.Data.IsDead && Overseer.IsRevealedPlayer(PlayerControl.LocalPlayer, __instance) && __instance.Is(CustomRoles.Narc) && !PlayerControl.LocalPlayer.Is(CustomRoles.Madmate))
{
RoleText.enabled = true;
BlankRT = ColorString(GetRoleColor(CustomRoles.Sheriff), GetString(CustomRoles.Sheriff.ToString())); //Sheriff
BlankRT = Utils.ColorString(Utils.GetRoleColor(CustomRoles.Sheriff), GetString(CustomRoles.Sheriff.ToString())); //Sheriff
if (Sheriff.ShowShotLimit.GetBool())
BlankRT += ColorString(GetRoleColor(CustomRoles.Sheriff).ShadeColor(0.25f), $"({Sheriff.ShotLimitOpt.GetInt()})"); // Sheriff progress text
BlankRT += Utils.ColorString(Utils.GetRoleColor(CustomRoles.Sheriff).ShadeColor(0.25f), $"({Sheriff.ShotLimitOpt.GetInt()})"); // Sheriff progress text
RoleText.text = $"<size=1.4>{BlankRT}</size>";
}
if (!PlayerControl.LocalPlayer.Data.IsDead && Overseer.IsRevealedPlayer(PlayerControl.LocalPlayer, __instance) && Illusionist.IsCovIllusioned(__instance.PlayerId))
Expand Down

0 comments on commit 38547f6

Please sign in to comment.