Skip to content

Commit

Permalink
Add note about potential oversight
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Nov 1, 2024
1 parent b5aae47 commit 695d370
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GlobalRankLookupCache/Controllers/BeatmapItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ private async Task repopulateScores()

// Check whether things actually changed enough to matter. If not, skip this update.
// Of note, if scores *reduced* we should update immediately. This may be a foul play score removed from the header of the leaderboard.
//
// Note that this might not work great if a user improves a score.
if (isRepopulate && liveCount >= scores.Count && liveCount - scores.Count < 10)
{
Console.Write("-");
Expand Down

0 comments on commit 695d370

Please sign in to comment.