Skip to content

Commit

Permalink
Delay LR check
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS committed Sep 19, 2024
1 parent 92302af commit da5cadc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/Jailbreak.LastRequest/LastRequestManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public HookResult OnPlayerDisconnect(EventPlayerDisconnect @event,
}

private void checkLR() {
Server.NextFrame(() => {
Server.RunOnTick(Server.TickCount + 32, () => {
if (Utilities.GetPlayers().All(p => p.Team != CsTeam.CounterTerrorist))
return;
if (countAlivePrisoners() > CV_PRISONER_TO_LR.Value) return;
Expand Down

0 comments on commit da5cadc

Please sign in to comment.