Skip to content

Commit

Permalink
Do not show protected beatmaps in playlist overlay
Browse files Browse the repository at this point in the history
Secondary fix to ppy#28880.
  • Loading branch information
bdach committed Jul 17, 2024
1 parent 4c1f902 commit 1ffc34b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Game/Overlays/Music/PlaylistOverlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ protected override void LoadComplete()
{
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);
Expand Down

0 comments on commit 1ffc34b

Please sign in to comment.