Delay LR check

This commit is contained in:
MSWS
2024-09-18 19:10:21 -07:00
parent 92302af806
commit da5cadcd66

View File

@@ -252,7 +252,7 @@ public class LastRequestManager(ILRLocale messages, IServiceProvider provider)
}
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;