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:
parent
5b5703544b
commit
32dabf80a6
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user