1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Always confirm exit when button is clicked

This commit is contained in:
Dean Herbert 2019-09-19 16:28:06 +09:00
parent a214e7e72f
commit 929f05884b

View File

@ -85,7 +85,11 @@ namespace osu.Game.Screens.Menu
OnEdit = delegate { this.Push(new Editor()); },
OnSolo = onSolo,
OnMulti = delegate { this.Push(new Multiplayer()); },
OnExit = this.Exit,
OnExit = delegate
{
exitConfirmed = true;
this.Exit();
},
}
}
},