1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 19:22:56 +08:00

Reset minimal scoring values from frames

This commit is contained in:
Dan Balasescu 2022-05-31 18:17:25 +09:00
parent 20988be6bb
commit 44ca350822

View File

@ -452,7 +452,12 @@ namespace osu.Game.Rulesets.Scoring
if (frame.Header == null)
return;
extractFromStatistics(frame.Header.Statistics, out currentScoringValues, out rollingMaximumScoringValues);
extractFromStatistics(frame.Header.Statistics, out var current, out var maximum);
currentScoringValues.BaseScore = current.BaseScore;
currentScoringValues.MaxCombo = frame.Header.MaxCombo;
rollingMaximumScoringValues.BaseScore = maximum.BaseScore;
rollingMaximumScoringValues.MaxCombo = maximum.MaxCombo;
HighestCombo.Value = frame.Header.MaxCombo;
scoreResultCounts.Clear();