mirror of
https://github.com/ppy/osu
synced 2025-01-31 18:32:14 +00:00
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:
commit
cc16a7fa41
@ -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