mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 02:49:53 +08:00
Fix RoomManager attempting to part room when not online
This commit is contained in:
@@ -98,7 +98,9 @@ namespace osu.Game.Screens.OnlinePlay.Components
|
||||
if (JoinedRoom.Value == null)
|
||||
return;
|
||||
|
||||
api.Queue(new PartRoomRequest(joinedRoom.Value));
|
||||
if (api.State.Value == APIState.Online)
|
||||
api.Queue(new PartRoomRequest(joinedRoom.Value));
|
||||
|
||||
joinedRoom.Value = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user