Fix potential null reference when loading background

As seen in
https://discordapp.com/channels/188630481301012481/188630652340404224/772094427342569493.
Caused due to async load of the loader, which means it may not be ready
before Next() is called.
This commit is contained in:
Dean Herbert
2020-10-31 22:51:31 +09:00
parent ea007af572
commit a9a3489e92
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,6 @@ using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Graphics.Backgrounds
{
[LongRunningLoad]
public class SeasonalBackgroundLoader : Component
{
/// <summary>