From 52d3021f0261fb5c9eb33c06a66fe51fa78e03ba Mon Sep 17 00:00:00 2001 From: Jerry Date: Mon, 10 Oct 2022 17:19:08 -0500 Subject: [PATCH] Properly Erase Fanatic when erased --- TheOtherRoles/RPC.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/TheOtherRoles/RPC.cs b/TheOtherRoles/RPC.cs index f4b74881d..dfde8db0f 100644 --- a/TheOtherRoles/RPC.cs +++ b/TheOtherRoles/RPC.cs @@ -1315,6 +1315,7 @@ public static void erasePlayerRoles(byte playerId, bool ignoreModifier = false) if (Sunglasses.sunglasses.Any(x => x.PlayerId == player.PlayerId)) Sunglasses.sunglasses.RemoveAll(x => x.PlayerId == player.PlayerId); if (player == Tiebreaker.tiebreaker) Tiebreaker.clearAndReload(); if (player == Mini.mini) Mini.clearAndReload(); + if (player == Cursed.cursed) Cursed.clearAndReload(); if (Vip.vip.Any(x => x.PlayerId == player.PlayerId)) Vip.vip.RemoveAll(x => x.PlayerId == player.PlayerId); if (Invert.invert.Any(x => x.PlayerId == player.PlayerId)) Invert.invert.RemoveAll(x => x.PlayerId == player.PlayerId); }