mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 16:47:46 +08:00
Fix RoomManager
attempting to part room when not online
This commit is contained in:
parent
42fada578e
commit
aa3ff151c0
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user