Fix possible MusicController nullref

This commit is contained in:
smoogipoo 2018-05-23 14:36:09 +09:00
parent 194710eae4
commit f894d73501

View File

@ -101,7 +101,7 @@ namespace osu.Game.Overlays.Music
private void updateSelectedSet()
{
foreach (PlaylistItem s in items.Children)
s.Selected = s.BeatmapSetInfo.ID == beatmapBacking.Value.BeatmapSetInfo.ID;
s.Selected = s.BeatmapSetInfo.ID == beatmapBacking.Value?.BeatmapSetInfo?.ID;
}
public string SearchTerm