1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 00:02:54 +08:00

Fix MultiplayerMatchSongSelect potentially attempting to exit when not the current screen

This commit is contained in:
Dean Herbert 2022-03-30 20:35:11 +09:00
parent c311e11496
commit 671386ba6c

View File

@ -80,6 +80,10 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
{
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)