1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-20 02:39:53 +08:00

Fix hidden beatmap state not being reflected immediately

This commit is contained in:
Dean Herbert
2025-08-28 02:33:18 +09:00
Unverified
parent be6fb9aa77
commit 8a6c857719
+9 -6
View File
@@ -382,16 +382,19 @@ namespace osu.Game.Screens.SelectV2
// We use `BeatmapDifficultyCache` and don't want to know about these.
// - Background user tag population runs and causes a realm update.
// We don't display user tags so want to ignore this.
if (
bool equalForDisplayPurposes =
// covers metadata changes
oldBeatmap.Hash == newBeatmap.Hash &&
// displayed
// sanity check
oldBeatmap.OnlineID == newBeatmap.OnlineID &&
// displayed on panel
oldBeatmap.Status == newBeatmap.Status &&
// displayed
// displayed on panel
oldBeatmap.DifficultyName == newBeatmap.DifficultyName &&
// sanity
oldBeatmap.OnlineID == newBeatmap.OnlineID
)
// hidden changed, needs re-filter
oldBeatmap.Hidden == newBeatmap.Hidden;
if (equalForDisplayPurposes)
return false;
}