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:
commit
a6343a669c
@ -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();
|
||||
}));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user