Skip intro if the map gets restarted

This commit is contained in:
BlauFx
2022-08-05 23:01:52 +02:00
parent 6717f0606c
commit 99e07aa09a

View File

@ -441,6 +441,12 @@ namespace osu.Game.Screens.Play
},
};
skipIntroOverlay.IsSkippable.ValueChanged += (e) =>
{
if (RestartCount > 0 && e.NewValue)
skipIntroOverlay.RequestSkip.Invoke();
};
if (!Configuration.AllowSkipping || !DrawableRuleset.AllowGameplayOverlays)
{
skipIntroOverlay.Expire();