mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +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)
|
||||
{
|
||||
skipIntroOverlay.Expire();
|
||||
|
Reference in New Issue
Block a user