1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-04 06:23:37 +08:00

fix possible NullRef

This commit is contained in:
Aergwyn
2017-12-03 14:15:08 +01:00
Unverified
parent a1dbd7916b
commit 0c9ebcd58c
+1 -1
View File
@@ -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;