make noobis brain happy

This commit is contained in:
Gurge44 committed 2025-09-20 13:55:21 +02:00
1 parent 98e36e8883
commit 5edb5dace9
2 files changed
+5 -6

No files matched your search

+4 -5
View File
@@ -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));
+1 -1
View File
@@ -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())