Skip to content

Commit

Permalink
reduce cases of too many pfps showing
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwasyx committed Dec 10, 2023
1 parent 77eb03c commit bacd138
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,9 @@ public async Task RefreshLeaderboard(IDifficultyBeatmap difficultyBeatmap, Leade

if (_currentLeaderboardRefreshId == refreshId) {
LeaderboardMap leaderboardData = await _leaderboardService.GetLeaderboardData(difficultyBeatmap, scope, leaderboardPage, _playerDataModel.playerData.playerSpecificSettings, _filterAroundCountry);
if (_currentLeaderboardRefreshId != refreshId) {
return; // we need to check this again, since some time may have passed due to waiting for leaderboard data
}
SetRankedStatus(leaderboardData.leaderboardInfoMap.leaderboardInfo);
List<LeaderboardTableView.ScoreData> leaderboardTableScoreData = leaderboardData.ToScoreData();
int playerScoreIndex = GetPlayerScoreIndex(leaderboardData);
Expand Down

0 comments on commit bacd138

Please sign in to comment.