1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 12:45:09 +08:00

Schedule completion when storyboard has actually ended

This commit is contained in:
Salman Ahmed 2021-04-18 06:35:43 +03:00
parent 2847dd7e05
commit a73bae7a66

View File

@ -284,9 +284,9 @@ namespace osu.Game.Screens.Play
ScoreProcessor.RevertResult(r);
};
DimmableStoryboard.HasStoryboardEnded.ValueChanged += _ =>
DimmableStoryboard.HasStoryboardEnded.ValueChanged += storyboardEnded =>
{
if (ScoreProcessor.HasCompleted.Value)
if (storyboardEnded.NewValue && ScoreProcessor.HasCompleted.Value)
scheduleCompletion();
};