mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 09:02:58 +08:00
Don't rely on BeatmapSetInfo being present
This commit is contained in:
parent
d69470f2ae
commit
8d727b898f
@ -189,7 +189,7 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
private void carouselBeatmapsLoaded()
|
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);
|
carousel.SelectBeatmap(Beatmap.Value.BeatmapInfo, false);
|
||||||
else
|
else
|
||||||
carousel.SelectNext();
|
carousel.SelectNext();
|
||||||
|
Loading…
Reference in New Issue
Block a user