mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 11:12:59 +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);
|
ScoreProcessor.RevertResult(r);
|
||||||
};
|
};
|
||||||
|
|
||||||
DimmableStoryboard.HasStoryboardEnded.ValueChanged += _ =>
|
DimmableStoryboard.HasStoryboardEnded.ValueChanged += storyboardEnded =>
|
||||||
{
|
{
|
||||||
if (ScoreProcessor.HasCompleted.Value)
|
if (storyboardEnded.NewValue && ScoreProcessor.HasCompleted.Value)
|
||||||
scheduleCompletion();
|
scheduleCompletion();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user