Skip to content

Commit

Permalink
Gut
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS committed Nov 1, 2024
1 parent 9fe42ff commit 9f38509
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod/Jailbreak.Warden/Global/WardenBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ private async Task updateWardenDeathStats(PlayerWrapper player) {

[GameEventHandler]
public HookResult OnDeath(EventPlayerDeath ev, GameEventInfo info) {
return HookResult.Continue;
var player = ev.Userid;

Check warning on line 300 in mod/Jailbreak.Warden/Global/WardenBehavior.cs

View workflow job for this annotation

GitHub Actions / build

Unreachable code detected

Check warning on line 300 in mod/Jailbreak.Warden/Global/WardenBehavior.cs

View workflow job for this annotation

GitHub Actions / build

Unreachable code detected

Check warning on line 300 in mod/Jailbreak.Warden/Global/WardenBehavior.cs

View workflow job for this annotation

GitHub Actions / build

Unreachable code detected

Check warning on line 300 in mod/Jailbreak.Warden/Global/WardenBehavior.cs

View workflow job for this annotation

GitHub Actions / build

Unreachable code detected
if (player == null || !player.IsValid) return HookResult.Continue;
var isWarden = ((IWardenService)this).IsWarden(player);
Expand Down

0 comments on commit 9f38509

Please sign in to comment.