mirror of
https://github.com/ppy/osu
synced 2025-02-05 21:01:37 +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()
|
private void updateBeatmapYPositions()
|
||||||
{
|
{
|
||||||
|
if (beatmapContainer == null)
|
||||||
|
return;
|
||||||
|
|
||||||
if (beatmapsLoadTask == null || !beatmapsLoadTask.IsCompleted)
|
if (beatmapsLoadTask == null || !beatmapsLoadTask.IsCompleted)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user