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:
parent
e4dd1e1ebc
commit
ba9cdf2ce2
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user