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
commit cc16a7fa41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();