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

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
Unverified
parent 4c1f902969
commit 1ffc34b651
+1 -1
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);