mirror of
https://github.com/ppy/osu
synced 2025-02-21 21:17:13 +00: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()
|
private void updateParticipants()
|
||||||
{
|
{
|
||||||
var roomId = room.RoomID.Value ?? 0;
|
var roomId = room?.RoomID.Value ?? 0;
|
||||||
|
|
||||||
request?.Cancel();
|
request?.Cancel();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user