mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 13:22:55 +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