mirror of
https://github.com/ppy/osu
synced 2025-01-14 18:10:53 +00:00
Add null check on beatmapContainer for safety
This commit is contained in:
parent
ffafdf2209
commit
99701a6d9b
@ -178,6 +178,9 @@ namespace osu.Game.Screens.Select.Carousel
|
||||
|
||||
private void updateBeatmapYPositions()
|
||||
{
|
||||
if (beatmapContainer == null)
|
||||
return;
|
||||
|
||||
if (beatmapsLoadTask == null || !beatmapsLoadTask.IsCompleted)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user