mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 14:13:18 +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)
|
||||
{
|
||||
skipIntroOverlay.Expire();
|
||||
|
Loading…
Reference in New Issue
Block a user