1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 21:43:04 +08:00

Run updateScore on Reset for good measure

This commit is contained in:
Dean Herbert 2023-06-14 01:54:57 +09:00
parent 0ab9a48f00
commit 3334323eb7

View File

@ -328,6 +328,9 @@ namespace osu.Game.Rulesets.Scoring
/// <param name="storeResults">Whether to store the current state of the <see cref="ScoreProcessor"/> for future use.</param>
protected override void Reset(bool storeResults)
{
// Run one last time to store max values.
updateScore();
base.Reset(storeResults);
hitEvents.Clear();