mirror of
https://github.com/ppy/osu
synced 2024-12-16 11:56:31 +00:00
fix possible NullRef
This commit is contained in:
parent
a1dbd7916b
commit
0c9ebcd58c
@ -150,7 +150,7 @@ namespace osu.Game.Overlays.Music
|
||||
{
|
||||
beatmapBacking.Value = beatmaps.GetWorkingBeatmap(info, beatmapBacking);
|
||||
|
||||
if (BeatmapSets.Count() == 1)
|
||||
if (BeatmapSets?.Count() == 1)
|
||||
beatmapBacking.Value.Track.Looping = true;
|
||||
else
|
||||
beatmapBacking.Value.Track.Looping = false;
|
||||
|
Loading…
Reference in New Issue
Block a user