mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Forcefully part room when multiplayer exits
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user