diff --git a/osu.Game/Beatmaps/WorkingBeatmap.cs b/osu.Game/Beatmaps/WorkingBeatmap.cs index 019674c3ad..446aaf8e49 100644 --- a/osu.Game/Beatmaps/WorkingBeatmap.cs +++ b/osu.Game/Beatmaps/WorkingBeatmap.cs @@ -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 { diff --git a/osu.Game/Screens/Backgrounds/BackgroundModeBeatmap.cs b/osu.Game/Screens/Backgrounds/BackgroundModeBeatmap.cs index 61b3a89ca0..65b50542ce 100644 --- a/osu.Game/Screens/Backgrounds/BackgroundModeBeatmap.cs +++ b/osu.Game/Screens/Backgrounds/BackgroundModeBeatmap.cs @@ -84,7 +84,7 @@ namespace osu.Game.Screens.Backgrounds [BackgroundDependencyLoader] private void load() { - Sprite.Texture = beatmap.Background; + Sprite.Texture = beatmap?.Background; } } }