1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 11:00:18 +08:00

Don't rely on BeatmapSetInfo being present

This commit is contained in:
Dean Herbert
2017-07-20 09:23:11 +09:00
Unverified
parent d69470f2ae
commit 8d727b898f
+1 -1
View File
@@ -189,7 +189,7 @@ namespace osu.Game.Screens.Select
private void carouselBeatmapsLoaded()
{
if (Beatmap.Value != null && !Beatmap.Value.BeatmapSetInfo.DeletePending)
if (Beatmap.Value != null && Beatmap.Value.BeatmapSetInfo?.DeletePending != false)
carousel.SelectBeatmap(Beatmap.Value.BeatmapInfo, false);
else
carousel.SelectNext();