diff --git a/dist/app/Console/Commands/ProcessMatchmaking.php b/dist/app/Console/Commands/ProcessMatchmaking.php index 474b42c..84816a0 100644 --- a/dist/app/Console/Commands/ProcessMatchmaking.php +++ b/dist/app/Console/Commands/ProcessMatchmaking.php @@ -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())