mirror of
https://github.com/osukey/osukey.git
synced 2025-07-29 14:15:27 +09: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:
@ -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
|
// This is temporary since we don't currently have a way to force screens to be exited
|
||||||
if (this.IsCurrentScreen())
|
if (this.IsCurrentScreen())
|
||||||
|
{
|
||||||
|
while (this.IsCurrentScreen())
|
||||||
this.Exit();
|
this.Exit();
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.MakeCurrent();
|
this.MakeCurrent();
|
||||||
|
Reference in New Issue
Block a user