mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 15:12:57 +08:00
Fix MultiplayerMatchSongSelect
potentially attempting to exit when not the current screen
This commit is contained in:
parent
c311e11496
commit
671386ba6c
@ -80,6 +80,10 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
|||||||
{
|
{
|
||||||
Schedule(() =>
|
Schedule(() =>
|
||||||
{
|
{
|
||||||
|
// If an error or server side trigger occurred this screen may have already exited by external means.
|
||||||
|
if (!this.IsCurrentScreen())
|
||||||
|
return;
|
||||||
|
|
||||||
loadingLayer.Hide();
|
loadingLayer.Hide();
|
||||||
|
|
||||||
if (t.IsFaulted)
|
if (t.IsFaulted)
|
||||||
|
Loading…
Reference in New Issue
Block a user