Skip to content

Commit 7de3420

Browse files
authored
Merge pull request #371 from CnCNet/develop
Develop to Main
2 parents 0b0dec8 + 03673c0 commit 7de3420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cncnet-api/app/Http/Services/QuickMatchService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,7 @@ public function findBestMatchRandomized($possibleMatches): array
15371537
$possibleMatches = collect($possibleMatches);
15381538

15391539
// TODO : move this hard-coded value to the qmLadderRules
1540-
$similarEloMatches = $possibleMatches->filter(fn($match) => $match['teams_elo_diff'] < 400);
1540+
$similarEloMatches = $possibleMatches->filter(fn($match) => $match['teams_elo_diff'] < 4000); // TODO hardcoding 4000 right now to ensure random teams, will re-visit this
15411541

15421542
if ($similarEloMatches->count() > 0)
15431543
{

0 commit comments

Comments
 (0)