Skip to content

Commit

Permalink
Remove null conditional
Browse files Browse the repository at this point in the history
Shouldn't guard against that here.
  • Loading branch information
frenzibyte committed May 15, 2021
1 parent dc56250 commit 34d1490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Game/Screens/Play/BeatmapMetadataDisplay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public BeatmapMetadataDisplay(WorkingBeatmap beatmap, Bindable<IReadOnlyList<Mod
[BackgroundDependencyLoader]
private void load(BeatmapDifficultyCache difficultyCache)
{
var metadata = beatmap.BeatmapInfo?.Metadata ?? new BeatmapMetadata();
var metadata = beatmap.BeatmapInfo.Metadata;

AutoSizeAxes = Axes.Both;
Children = new Drawable[]
Expand Down

0 comments on commit 34d1490

Please sign in to comment.