mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
more fixes
This commit is contained in:
1 parent
e3752dac69
commit
65712b8ab4
9 files changed
+143
-135
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user