1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 15:43:21 +08:00

Add null check to fix crash on deselecting multiplayer room

This commit is contained in:
Dean Herbert 2019-01-17 18:17:47 +09:00
parent e4dd1e1ebc
commit ba9cdf2ce2

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