Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
Properly Erase Fanatic when erased
Browse files Browse the repository at this point in the history
  • Loading branch information
ismywb committed Oct 10, 2022
1 parent 5531013 commit 52d3021
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TheOtherRoles/RPC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 52d3021

Please sign in to comment.