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
1 changed files with 5 additions and 1 deletions

View File

@ -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();
},
}
}
},