1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 07:09:11 +08:00

Merge pull request #24422 from bdach/multiplayer-exit-reliability

Fix multiplayer match screen being exited from when not current
This commit is contained in:
Dean Herbert
2023-07-30 23:33:32 +09:00
committed by GitHub
Unverified
@@ -265,7 +265,8 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
dialogOverlay.Push(new ConfirmDialog("Are you sure you want to leave this multiplayer match?", () =>
{
exitConfirmed = true;
this.Exit();
if (this.IsCurrentScreen())
this.Exit();
}));
}