diff --git a/mod/Jailbreak.Warden/Global/WardenBehavior.cs b/mod/Jailbreak.Warden/Global/WardenBehavior.cs index 2dddd5ec..97a5e6d7 100644 --- a/mod/Jailbreak.Warden/Global/WardenBehavior.cs +++ b/mod/Jailbreak.Warden/Global/WardenBehavior.cs @@ -310,7 +310,7 @@ public HookResult OnDeath(EventPlayerDeath ev, GameEventInfo info) { var wrapper = new PlayerWrapper(guard); // If the guard is the warden, update all guards' stats // If the guard is not the warden, only update the warden's stats - if (guard.SteamID == player.SteamID != isWarden) continue; + if (guard.SteamID == player.SteamID == isWarden) continue; Task.Run(async () => await updateGuardDeathStats(wrapper, isWarden)); } }