mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Leave the match screen when kicked
This commit is contained in:
@ -448,6 +448,13 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
||||
|
||||
private void onRoomUpdated()
|
||||
{
|
||||
// may happen if the client is kicked or otherwise removed from the room.
|
||||
if (client.Room == null)
|
||||
{
|
||||
Schedule(this.Exit);
|
||||
return;
|
||||
}
|
||||
|
||||
Scheduler.AddOnce(UpdateMods);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user