mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Improve exit procedure.
This commit is contained in:
@ -109,10 +109,13 @@ namespace osu.Game.Screens.Menu
|
||||
|
||||
protected override void OnResuming(GameMode last)
|
||||
{
|
||||
if (!(last is MainMenu))
|
||||
Content.FadeIn(300);
|
||||
|
||||
//we also handle the exit transition.
|
||||
seeya.Play();
|
||||
|
||||
double fadeOutTime = (last.LifetimeEnd - Time.Current) + 100;
|
||||
double fadeOutTime = 2000;
|
||||
|
||||
Scheduler.AddDelayed(Exit, fadeOutTime);
|
||||
|
||||
|
Reference in New Issue
Block a user