Skip to content

Commit

Permalink
Check LG next frame
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS committed Nov 1, 2024
1 parent a649be7 commit 7d6ccf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mod/Jailbreak.LastGuard/LastGuard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ public HookResult OnPlayerDeathEvent(EventPlayerDeath @event,
GameEventInfo info) {
var player = @event.Userid;
if (player == null) return HookResult.Continue;
checkLastGuard(@event.Userid);

Server.NextFrame(() => checkLastGuard(@event.Userid));

if (!IsLastGuardActive) return HookResult.Continue;

Expand Down

0 comments on commit 7d6ccf1

Please sign in to comment.