mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 08:22:56 +08:00
Merge pull request #2618 from smoogipoo/musiccontroller-nullref
Fix possible MusicController nullref
This commit is contained in:
commit
1c947fd3a7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user