mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 22:22:54 +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)
|
public override bool OnExiting(IScreen next)
|
||||||
{
|
{
|
||||||
|
roomManager.PartRoom();
|
||||||
|
|
||||||
if (screenStack.CurrentScreen != null && !(screenStack.CurrentScreen is LoungeSubScreen))
|
if (screenStack.CurrentScreen != null && !(screenStack.CurrentScreen is LoungeSubScreen))
|
||||||
{
|
{
|
||||||
screenStack.Exit();
|
screenStack.Exit();
|
||||||
|
Loading…
Reference in New Issue
Block a user