mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Add null check on beatmapContainer for safety
This commit is contained in:
@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user