From c5b9199d9aba47f277eb18f72d394a2ab66fee5a Mon Sep 17 00:00:00 2001 From: Jerry Date: Mon, 10 Oct 2022 17:26:51 -0500 Subject: [PATCH] Turn Fanatic red after being turned --- TheOtherRoles/TheOtherRoles.cs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/TheOtherRoles/TheOtherRoles.cs b/TheOtherRoles/TheOtherRoles.cs index 2030f7203..3cea278b6 100644 --- a/TheOtherRoles/TheOtherRoles.cs +++ b/TheOtherRoles/TheOtherRoles.cs @@ -1959,8 +1959,15 @@ public static void clearAndReload() { public static class Cursed { public static PlayerControl cursed; - public static Color color = new Color32(0, 247, 255, byte.MaxValue); - + public static Color crewColor = new Color32(0, 247, 255, byte.MaxValue); + public static Color impColor = Palette.ImpostorRed; + public Color color { + get { + if (cursed == null || !cursed.Data.Role.IsImpostor) { + return crewColor; + else return impColor; + } + } public static void clearAndReload() { cursed = null;