1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-12 23:12:59 +08:00

Fix incorrect max combo after watching imported legacy replays

This commit is contained in:
Dan Balasescu 2023-01-12 14:18:21 +09:00
parent 7cf58190a9
commit bbec42c00e

View File

@ -423,6 +423,8 @@ namespace osu.Game.Rulesets.Scoring
score.Accuracy = Accuracy.Value;
score.Rank = Rank.Value;
score.HitEvents = hitEvents;
score.Statistics.Clear();
score.MaximumStatistics.Clear();
foreach (var result in HitResultExtensions.ALL_TYPES)
score.Statistics[result] = scoreResultCounts.GetValueOrDefault(result);