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:
parent
20988be6bb
commit
44ca350822
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user