mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-03-21 18:04:46 -05:00
recheck playercount after delay
This commit is contained in:
parent
bb93c05ec0
commit
3992dc94c8
|
|
@ -80,6 +80,7 @@ public function handle(): void
|
|||
$playerCount = $this->getTotalPlayersCount($players);
|
||||
if ($playerCount->hunters === 1 && ($playerCount->runners === 4 || $playerCount->runners === 5))
|
||||
sleep(10);
|
||||
$playerCount = $this->getTotalPlayersCount($players);
|
||||
$availableMatchConfigs = MatchConfiguration::getAvailableMatchConfigs($playerCount->runners, $playerCount->hunters);
|
||||
|
||||
if($availableMatchConfigs->isEmpty())
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user