mirror of
https://github.com/ppy/osu.git
synced 2025-02-12 15:33:22 +08:00
Merge pull request #20504 from peppy/fix-playlist-connectivity-crash
Fix potential crash when losing network connectivity in multiplayer/playlists screens
This commit is contained in:
commit
8642ed7631
@ -105,7 +105,8 @@ namespace osu.Game.Screens.OnlinePlay
|
||||
while (this.IsCurrentScreen())
|
||||
this.Exit();
|
||||
}
|
||||
else
|
||||
// Also handle the case where a child screen is current (ie. gameplay).
|
||||
else if (this.GetChildScreen() != null)
|
||||
{
|
||||
this.MakeCurrent();
|
||||
Schedule(forcefullyExit);
|
||||
|
Loading…
Reference in New Issue
Block a user