1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-15 22:37:21 +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
commit a6343a669c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}));
}