mirror of https://github.com/ppy/osu
Always confirm exit when button is clicked
This commit is contained in:
parent
a214e7e72f
commit
929f05884b
|
@ -85,7 +85,11 @@ private void load(DirectOverlay direct, SettingsOverlay settings, OsuConfigManag
|
|||
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