mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 08:33:21 +08:00
Inline last version which touched ranks when checking for upgrade
This commit is contained in:
parent
4bc92a263f
commit
f6ceedc7a6
@ -382,7 +382,7 @@ namespace osu.Game.Database
|
||||
|
||||
HashSet<Guid> scoreIds = realmAccess.Run(r => new HashSet<Guid>(
|
||||
r.All<ScoreInfo>()
|
||||
.Where(s => s.TotalScoreVersion < LegacyScoreEncoder.LATEST_VERSION)
|
||||
.Where(s => s.TotalScoreVersion < 30000013) // last total score version with a significant change to ranks
|
||||
.AsEnumerable()
|
||||
// must be done after materialisation, as realm doesn't support
|
||||
// filtering on nested property predicates or projection via `.Select()`
|
||||
|
Loading…
Reference in New Issue
Block a user