From 2363130f8b2d791f98d3d7023e75b964b6240a49 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 19 Jan 2022 12:33:56 +0900 Subject: [PATCH] Add back `BaseDifficulty` with obsoletion counter to account for custom rulesets --- osu.Game/Beatmaps/BeatmapInfo.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/osu.Game/Beatmaps/BeatmapInfo.cs b/osu.Game/Beatmaps/BeatmapInfo.cs index b91f05cd11..f4d8697042 100644 --- a/osu.Game/Beatmaps/BeatmapInfo.cs +++ b/osu.Game/Beatmaps/BeatmapInfo.cs @@ -165,6 +165,14 @@ namespace osu.Game.Beatmaps } } + [Ignored] + [Obsolete("Use BeatmapInfo.Difficulty instead.")] // can be removed 20220719 + public BeatmapDifficulty BaseDifficulty + { + get => Difficulty; + set => Difficulty = value; + } + [Ignored] public string? Path => File?.Filename;