mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
fix possible NullRef
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user