1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 21:42:55 +08:00

Ensure forceful exit completely exits from mutliplayer

Previously it may have gotten blocked by being in a sub screen.
This commit is contained in:
Dean Herbert 2019-10-31 13:42:11 +09:00
parent 5b5703544b
commit 32dabf80a6

View File

@ -174,7 +174,10 @@ namespace osu.Game.Screens.Multi
{
// This is temporary since we don't currently have a way to force screens to be exited
if (this.IsCurrentScreen())
this.Exit();
{
while (this.IsCurrentScreen())
this.Exit();
}
else
{
this.MakeCurrent();