mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Make sure intro can't be exited unless the main menu has displayed once.
This commit is contained in:
@ -53,12 +53,12 @@ namespace osu.Game.GameModes
|
||||
Content.FadeIn(transition_time, EasingTypes.OutExpo);
|
||||
}
|
||||
|
||||
protected override void OnExiting(GameMode next)
|
||||
protected override bool OnExiting(GameMode next)
|
||||
{
|
||||
base.OnExiting(next);
|
||||
|
||||
textContainer.MoveTo(new Vector2((Size.X / 16), 0), transition_time, EasingTypes.OutExpo);
|
||||
Content.FadeOut(transition_time, EasingTypes.OutExpo);
|
||||
|
||||
return base.OnExiting(next);
|
||||
}
|
||||
|
||||
protected override void OnSuspending(GameMode next)
|
||||
|
Reference in New Issue
Block a user