From 1478ac581da933362b6455ca499e682dc1e41eae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Dach?= Date: Mon, 10 Nov 2025 10:22:12 +0100 Subject: [PATCH] Fix incorrect retrieval of difficulty attributes for osu! ruleset with Hidden mod Since https://github.com/ppy/osu/pull/31351, Hidden affects star rating on its own, not only in conjunction with Flashlight like before. See also: https://github.com/ppy/osu-queue-score-statistics/pull/333. --- BeatmapDifficultyLookupCache/DifficultyCache.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BeatmapDifficultyLookupCache/DifficultyCache.cs b/BeatmapDifficultyLookupCache/DifficultyCache.cs index ce592cf..38745eb 100644 --- a/BeatmapDifficultyLookupCache/DifficultyCache.cs +++ b/BeatmapDifficultyLookupCache/DifficultyCache.cs @@ -297,7 +297,7 @@ LegacyMods getLegacyMod(APIMod mod) case "FL" when rulesetId == 0: return LegacyMods.Flashlight; - case "HD" when rulesetId == 0 && mods.Any(m => m.Acronym == "FL"): + case "HD" when rulesetId == 0: return LegacyMods.Hidden; case "TD" when rulesetId == 0: