mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 06:52:55 +08:00
Forcefully part room when multiplayer exits
This commit is contained in:
parent
b6457f0ce9
commit
f56d9fe50c
@ -212,6 +212,8 @@ namespace osu.Game.Screens.Multi
|
||||
|
||||
public override bool OnExiting(IScreen next)
|
||||
{
|
||||
roomManager.PartRoom();
|
||||
|
||||
if (screenStack.CurrentScreen != null && !(screenStack.CurrentScreen is LoungeSubScreen))
|
||||
{
|
||||
screenStack.Exit();
|
||||
|
Loading…
Reference in New Issue
Block a user