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:
parent
a214e7e72f
commit
929f05884b
@ -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();
|
||||
},
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user