Skip to content

Commit 85f87b6

Browse files
bdachpeppy
authored andcommitted
Inline last version which touched ranks when checking for upgrade
1 parent 7209c64 commit 85f87b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osu.Game/Database/BackgroundDataStoreProcessor.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ private void upgradeScoreRanks()
382382

383383
HashSet<Guid> scoreIds = realmAccess.Run(r => new HashSet<Guid>(
384384
r.All<ScoreInfo>()
385-
.Where(s => s.TotalScoreVersion < LegacyScoreEncoder.LATEST_VERSION)
385+
.Where(s => s.TotalScoreVersion < 30000013) // last total score version with a significant change to ranks
386386
.AsEnumerable()
387387
// must be done after materialisation, as realm doesn't support
388388
// filtering on nested property predicates or projection via `.Select()`

0 commit comments

Comments
 (0)