From 3992dc94c81d9d3ba0b4f309ed42291fda0a47a8 Mon Sep 17 00:00:00 2001 From: PMahhov Date: Wed, 9 Jul 2025 21:16:36 +0200 Subject: [PATCH] recheck playercount after delay --- dist/app/Console/Commands/ProcessMatchmaking.php | 1 + 1 file changed, 1 insertion(+) 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())