Add null check on beatmapContainer for safety

This commit is contained in:
Dean Herbert 2021-01-06 21:06:33 +09:00
parent ffafdf2209
commit 99701a6d9b

View File

@ -178,6 +178,9 @@ namespace osu.Game.Screens.Select.Carousel
private void updateBeatmapYPositions()
{
if (beatmapContainer == null)
return;
if (beatmapsLoadTask == null || !beatmapsLoadTask.IsCompleted)
return;