diff --git a/osu.Game/Beatmaps/Beatmap.cs b/osu.Game/Beatmaps/Beatmap.cs index c2b6b5932f..4769e2fb64 100644 --- a/osu.Game/Beatmaps/Beatmap.cs +++ b/osu.Game/Beatmaps/Beatmap.cs @@ -1,7 +1,6 @@ //Copyright (c) 2007-2016 ppy Pty Ltd . //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE -using System; using System.Collections.Generic; using OpenTK.Graphics; using osu.Game.Beatmaps.Objects; @@ -13,6 +12,7 @@ namespace osu.Game.Beatmaps public class Beatmap { public BeatmapInfo BeatmapInfo { get; set; } + public BeatmapMetadata Metadata => BeatmapInfo?.Metadata ?? BeatmapInfo?.BeatmapSet?.Metadata; public List HitObjects { get; set; } public List ControlPoints { get; set; } public List ComboColors { get; set; }