mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 21:12:55 +08:00
Fix rank upgrade path upgrading scores that failed background reprocessing earlier
This commit is contained in:
parent
53b6f9e385
commit
7ba1f142e5
@ -389,7 +389,7 @@ namespace osu.Game.Database
|
||||
|
||||
HashSet<Guid> scoreIds = realmAccess.Run(r => new HashSet<Guid>(
|
||||
r.All<ScoreInfo>()
|
||||
.Where(s => s.TotalScoreVersion < 30000013) // last total score version with a significant change to ranks
|
||||
.Where(s => s.TotalScoreVersion < 30000013 && !s.BackgroundReprocessingFailed) // 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