From c5cc7eec79ba4c2797c2ec5f11cf702bd8bcc49c Mon Sep 17 00:00:00 2001 From: Salman Ahmed Date: Sun, 20 Mar 2022 05:01:32 +0300 Subject: [PATCH] Add explicit todo about removing `BeatmapInfo.MaxCombo` Using that property is a trap basically. --- osu.Game/Beatmaps/BeatmapInfo.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/osu.Game/Beatmaps/BeatmapInfo.cs b/osu.Game/Beatmaps/BeatmapInfo.cs index c6f69286cd..5a2cfd63cf 100644 --- a/osu.Game/Beatmaps/BeatmapInfo.cs +++ b/osu.Game/Beatmaps/BeatmapInfo.cs @@ -9,6 +9,7 @@ using osu.Game.Database; using osu.Game.Models; using osu.Game.Online.API.Requests.Responses; +using osu.Game.Overlays.BeatmapSet.Scores; using osu.Game.Rulesets; using osu.Game.Scoring; using Realms; @@ -169,6 +170,10 @@ public BeatmapDifficulty BaseDifficulty [Ignored] public APIBeatmap? OnlineInfo { get; set; } + /// + /// The maximum achievable combo on this beatmap, populated for online info purposes only. + /// Todo: This should never be used nor exist, but is still relied on in since can't be used yet. + /// [Ignored] public int? MaxCombo { get; set; }