mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Skip intro if the map gets restarted
This commit is contained in:
@ -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();
|
||||||
|
Reference in New Issue
Block a user