Fix beatmap not being detached on hide/unhide

The explicit detach call was removed from `updateBeatmapSet`, causing
this to occur. We could optionally add it back (it will be a noop in all
cases though).
This commit is contained in:
Dean Herbert 2024-08-30 18:50:00 +09:00
parent de208fd5c3
commit 7b6e62283f
No known key found for this signature in database

View File

@ -391,7 +391,7 @@ namespace osu.Game.Screens.Select
if (root.BeatmapSetsByID.TryGetValue(beatmapSet.ID, out var existingSets)
&& existingSets.SelectMany(s => s.Beatmaps).All(b => b.BeatmapInfo.ID != beatmapInfo.ID))
{
updateBeatmapSet(beatmapSet);
updateBeatmapSet(beatmapSet.Detach());
changed = true;
}
}