From 5edb5dace979fa8b073ec1fcc7eeac4660080023 Mon Sep 17 00:00:00 2001 From: Gurge44 Date: Sat, 20 Sep 2025 13:55:21 +0200 Subject: [PATCH] make noobis brain happy --- Modules/Utils.cs | 9 ++++----- Patches/PlayerControlPatch.cs | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Modules/Utils.cs b/Modules/Utils.cs index 3f070f393..e9edd6f6c 100644 --- a/Modules/Utils.cs +++ b/Modules/Utils.cs @@ -1194,9 +1194,8 @@ public static class Utils } else { - taskCompleteColor = Color.green; - Color nonCompleteColorStart = hasTasks ? Color.red : Color.white; - Color nonCompleteColorEnd = Color.green; + Color nonCompleteColorStart = new Color32(203, 61, 64, 255); + Color nonCompleteColorEnd = taskCompleteColor = new Color32(15, 249, 137, 255); float progress = (float)taskState.CompletedTasksCount / taskState.AllTasksCount; nonCompleteColor = Color.Lerp(nonCompleteColorStart, nonCompleteColorEnd, progress); } @@ -2941,8 +2940,8 @@ public static class Utils if (!forMeeting) additionalSuffixes.Add(AFKDetector.GetSuffix(seer, target)); - - if (!forMeeting && seer.IsImpostor() && Main.Invisible.Contains(target.PlayerId)) + + if (!forMeeting && Options.CurrentGameMode == CustomGameMode.Standard && Main.Invisible.Contains(target.PlayerId)) additionalSuffixes.Add(ColorString(Palette.White_75Alpha, GetString("Invisible"))); TargetSuffix.Append(BuildSuffix(seer, target, meeting: forMeeting)); diff --git a/Patches/PlayerControlPatch.cs b/Patches/PlayerControlPatch.cs index d02b53792..4f3a2f55d 100644 --- a/Patches/PlayerControlPatch.cs +++ b/Patches/PlayerControlPatch.cs @@ -1841,7 +1841,7 @@ internal static class FixedUpdatePatch additionalSuffixes.Add(AFKDetector.GetSuffix(seer, target)); - if (!GameStates.IsMeeting && Main.Invisible.Contains(target.PlayerId) && (self || !seer.AmOwner || (seer.IsImpostor() && target.IsImpostor()))) + if (!GameStates.IsMeeting && Options.CurrentGameMode == CustomGameMode.Standard && Main.Invisible.Contains(target.PlayerId) && (self || (seer.IsImpostor() && target.IsImpostor()))) additionalSuffixes.Add(ColorString(Palette.White_75Alpha, GetString("Invisible"))); switch (target.GetCustomRole())