1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-05 10:44:13 +08:00

Merge pull request #25876 from bdach/fix-standardised-score-conversion

Fix osu! standardised score conversion sometimes exceeding bounds
This commit is contained in:
Dan Balasescu
2023-12-20 18:54:33 +09:00
committed by GitHub
Unverified
4 changed files with 19 additions and 6 deletions
+1 -2
View File
@@ -316,8 +316,7 @@ namespace osu.Game
HashSet<Guid> scoreIds = realmAccess.Run(r => new HashSet<Guid>(r.All<ScoreInfo>()
.Where(s => !s.BackgroundReprocessingFailed && s.BeatmapInfo != null
&& (s.TotalScoreVersion == 30000002
|| s.TotalScoreVersion == 30000003))
&& s.TotalScoreVersion < LegacyScoreEncoder.LATEST_VERSION)
.AsEnumerable().Select(s => s.ID)));
Logger.Log($"Found {scoreIds.Count} scores which require total score conversion.");