mirror of https://github.com/ppy/osu
Fix `MultiplayerMatchSongSelect` potentially attempting to exit when not the current screen
This commit is contained in:
parent
c311e11496
commit
671386ba6c
|
@ -80,6 +80,10 @@ protected override void SelectItem(PlaylistItem item)
|
|||
{
|
||||
Schedule(() =>
|
||||
{
|
||||
// If an error or server side trigger occurred this screen may have already exited by external means.
|
||||
if (!this.IsCurrentScreen())
|
||||
return;
|
||||
|
||||
loadingLayer.Hide();
|
||||
|
||||
if (t.IsFaulted)
|
||||
|
|
Loading…
Reference in New Issue