Do not show protected beatmaps in playlist overlay

Secondary fix to https://github.com/ppy/osu/issues/28880.
This commit is contained in:
Bartłomiej Dach 2024-07-17 11:46:59 +02:00
parent 4c1f902969
commit 1ffc34b651
No known key found for this signature in database

View File

@ -102,7 +102,7 @@ namespace osu.Game.Overlays.Music
{
base.LoadComplete();
beatmapSubscription = realm.RegisterForNotifications(r => r.All<BeatmapSetInfo>().Where(s => !s.DeletePending), beatmapsChanged);
beatmapSubscription = realm.RegisterForNotifications(r => r.All<BeatmapSetInfo>().Where(s => !s.DeletePending && !s.Protected), beatmapsChanged);
list.Items.BindTo(beatmapSets);
beatmap.BindValueChanged(working => list.SelectedSet.Value = working.NewValue.BeatmapSetInfo.ToLive(realm), true);