Use own Scheduler instead of Game.Scheduler.

This commit is contained in:
Thomas Müller
2016-10-08 11:33:24 +02:00
parent 556420ee58
commit 0c793dfe69
3 changed files with 6 additions and 6 deletions

View File

@ -47,7 +47,7 @@ namespace osu.Game.GameModes.Menu
OnSolo = delegate { Push(new PlaySongSelect()); },
OnMulti = delegate { Push(new Lobby()); },
OnTest = delegate { Push(new TestBrowser()); },
OnExit = delegate { Game.Scheduler.AddDelayed(Exit, ButtonSystem.EXIT_DELAY); },
OnExit = delegate { Scheduler.AddDelayed(Exit, ButtonSystem.EXIT_DELAY); },
OnSettings = delegate {
osu.Options.PoppedOut = !osu.Options.PoppedOut;
},