Skip to content

Commit 3cd10a8

Browse files
committed
Fix incorrect shortcut path when comparing ranked to non-ranked scores
1 parent fd5c267 commit 3cd10a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osu.Server.Queues.ScoreStatisticsProcessor/Commands/Maintenance/MarkNonPreservedScoresCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ private static bool checkIsUserHigh(IEnumerable<SoloScore> userScores, SoloScore
207207
Debug.Assert(scores.Any());
208208

209209
// shortcut for case of single score match
210-
if (scores.Length == 1)
210+
if (scores.Length == 1 && scores.Single().id == candidate.id)
211211
{
212212
preservedAlternatives = new HashSet<SoloScore> { candidate };
213213
return true;

0 commit comments

Comments
 (0)