mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 14:33:01 +08:00
Skip intro if the map gets restarted
This commit is contained in:
parent
6717f0606c
commit
99e07aa09a
@ -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)
|
if (!Configuration.AllowSkipping || !DrawableRuleset.AllowGameplayOverlays)
|
||||||
{
|
{
|
||||||
skipIntroOverlay.Expire();
|
skipIntroOverlay.Expire();
|
||||||
|
Loading…
Reference in New Issue
Block a user