mirror of
https://github.com/ppy/osu
synced 2025-01-19 04:20:59 +00:00
Merge remote-tracking branch 'upstream/master' into installer-updater
This commit is contained in:
commit
3d65c468ae
@ -30,7 +30,7 @@ namespace osu.Game.Beatmaps
|
||||
{
|
||||
if (background != null) return background;
|
||||
|
||||
if (BeatmapInfo.Metadata?.BackgroundFile == null) return null;
|
||||
if (BeatmapInfo?.Metadata?.BackgroundFile == null) return null;
|
||||
|
||||
try
|
||||
{
|
||||
|
@ -84,7 +84,7 @@ namespace osu.Game.Screens.Backgrounds
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
Sprite.Texture = beatmap.Background;
|
||||
Sprite.Texture = beatmap?.Background;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user