mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Fix some nullrefs when running visualtests with no maps loaded.
This commit is contained in:
@ -18,7 +18,8 @@ namespace osu.Game.Beatmaps.Drawables
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuGameBase game)
|
||||
{
|
||||
Texture = working.Background;
|
||||
if (working.Background != null)
|
||||
Texture = working.Background;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user