diff --git a/osu.Game/Screens/Multi/Lounge/Components/DrawableRoom.cs b/osu.Game/Screens/Multi/Lounge/Components/DrawableRoom.cs index c425f8ef0a..5cf11e5c98 100644 --- a/osu.Game/Screens/Multi/Lounge/Components/DrawableRoom.cs +++ b/osu.Game/Screens/Multi/Lounge/Components/DrawableRoom.cs @@ -244,6 +244,9 @@ protected override void LoadComplete() private void updatePlaylist() { + if (playlistBind.Count == 0) + return; + // For now, only the first playlist item is supported var item = playlistBind.First(); diff --git a/osu.Game/Screens/Multi/Lounge/Components/RoomInspector.cs b/osu.Game/Screens/Multi/Lounge/Components/RoomInspector.cs index 1a2ff4c3d8..818fd78f32 100644 --- a/osu.Game/Screens/Multi/Lounge/Components/RoomInspector.cs +++ b/osu.Game/Screens/Multi/Lounge/Components/RoomInspector.cs @@ -240,6 +240,9 @@ private void updateRoom(Room newRoom) private void updatePlaylist() { + if (playlistBind.Count == 0) + return; + // For now, only the first playlist item is supported var item = playlistBind.First();