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:
parent
2847dd7e05
commit
a73bae7a66
@ -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();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user