Skip to content

Commit 51e86a1

Browse files
Develop to main (#420)
* add debug logs in PodiumController * filter out observers from players_in queue count * Add back missing cache to player stat views, tweak cache to 10 mins (#418) * remvoe yuri check (#419) * remvoe yuri check * just remove the commented code for now, if need it later, fetch from git history --------- Co-authored-by: Grant Bartlett <hello@grant-bartlett.com>
1 parent 6b045c3 commit 51e86a1

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -362,15 +362,6 @@ public function removeYuriPlayers(QmQueueEntry $currentQmQueueEntry, Collection
362362
return $opponents;
363363
}
364364

365-
$disableYuri = $currentQmQueueEntry->qmPlayer->player->user->userSettings->do_not_match_yuri;
366-
$rank = $currentQmQueueEntry->qmPlayer->player->rank($history);
367-
368-
// If user does not disable Yuri matching or rank is better than the threshold, return opponents
369-
if (!$disableYuri || $rank <= 30)
370-
{
371-
return $opponents;
372-
}
373-
374365
$playerName = $currentQmQueueEntry->qmPlayer->player->username;
375366
$matchableOpponents = collect();
376367
$filteredOpponents = [];

0 commit comments

Comments
 (0)