more fixes

This commit is contained in:
Gurge44 committed 2025-09-25 10:30:36 +02:00
1 parent e3752dac69
commit 65712b8ab4
9 files changed
+143 -135

No files matched your search

+4
View File
@@ -1603,6 +1603,10 @@ internal static class FixedUpdatePatch
player.Notify(GetString("PlagueBearerToPestilence"));
player.RpcGuardAndKill(player);
var state = Main.PlayerStates[player.PlayerId];
state.RemoveSubRole(CustomRoles.Fragile);
state.RemoveSubRole(CustomRoles.Unbound);
if (!PlagueBearer.PestilenceList.Contains(playerId))
PlagueBearer.PestilenceList.Add(playerId);