1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 00:02:56 +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); ScoreProcessor.RevertResult(r);
}; };
DimmableStoryboard.HasStoryboardEnded.ValueChanged += _ => DimmableStoryboard.HasStoryboardEnded.ValueChanged += storyboardEnded =>
{ {
if (ScoreProcessor.HasCompleted.Value) if (storyboardEnded.NewValue && ScoreProcessor.HasCompleted.Value)
scheduleCompletion(); scheduleCompletion();
}; };