Merge pull request #4080 from peppy/add-room-null-check

Add null check to fix crash on deselecting multiplayer room
This commit is contained in:
Dean Herbert
2019-01-17 21:47:47 +09:00
committed by GitHub

View File

@ -266,7 +266,7 @@ namespace osu.Game.Screens.Multi.Lounge.Components
private void updateParticipants()
{
var roomId = room.RoomID.Value ?? 0;
var roomId = room?.RoomID.Value ?? 0;
request?.Cancel();