1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-20 06:00:25 +08:00

Forcefully part room when multiplayer exits

This commit is contained in:
smoogipoo
2019-10-30 14:42:14 +09:00
Unverified
parent b6457f0ce9
commit f56d9fe50c
+2
View File
@@ -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();