Fix up flow of actual skip operation

This commit is contained in:
Dean Herbert
2022-08-16 14:27:02 +09:00
parent 9a1a7bae89
commit 63819648df
2 changed files with 17 additions and 10 deletions

View File

@ -372,11 +372,8 @@ namespace osu.Game.Screens.Play
IsBreakTime.BindTo(breakTracker.IsBreakTime);
IsBreakTime.BindValueChanged(onBreakTimeChanged, true);
skipIntroOverlay.IsSkippable.ValueChanged += e =>
{
if (Configuration.AutomaticallySkipIntro && e.NewValue && RestartCount > 0)
performUserRequestedSkip();
};
if (Configuration.AutomaticallySkipIntro)
skipIntroOverlay.SkipWhenReady();
}
protected virtual GameplayClockContainer CreateGameplayClockContainer(WorkingBeatmap beatmap, double gameplayStart) => new MasterGameplayClockContainer(beatmap, gameplayStart);