mirror of
https://github.com/osukey/osukey.git
synced 2025-05-21 21:47:31 +09:00
Fix a potential null reference when loading carousel difficulties
This commit is contained in:
parent
89797d7a57
commit
8b04cd2cb0
@ -140,7 +140,7 @@ namespace osu.Game.Screens.Select.Carousel
|
|||||||
LoadComponentAsync(beatmapContainer, loaded =>
|
LoadComponentAsync(beatmapContainer, loaded =>
|
||||||
{
|
{
|
||||||
// make sure the pooled target hasn't changed.
|
// make sure the pooled target hasn't changed.
|
||||||
if (carouselBeatmapSet != Item)
|
if (beatmapContainer != loaded)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Content.Child = loaded;
|
Content.Child = loaded;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user