Skip to content

Commit

Permalink
Fix that
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS committed Nov 1, 2024
1 parent 8e9b2c3 commit b228723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/Jailbreak.Warden/Global/WardenBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}
Expand Down

0 comments on commit b228723

Please sign in to comment.