diff --git a/osu.Game/Screens/Select/RealmPopulatingOnlineLookupSource.cs b/osu.Game/Screens/Select/RealmPopulatingOnlineLookupSource.cs index 312711976d..f94a1822ec 100644 --- a/osu.Game/Screens/Select/RealmPopulatingOnlineLookupSource.cs +++ b/osu.Game/Screens/Select/RealmPopulatingOnlineLookupSource.cs @@ -70,7 +70,6 @@ namespace osu.Game.Screens.Select private static void updateRealmBeatmapSet(Realm r, APIBeatmapSet onlineBeatmapSet) { - var tagsById = (onlineBeatmapSet.RelatedTags ?? []).ToDictionary(t => t.Id); var onlineBeatmaps = onlineBeatmapSet.Beatmaps.ToDictionary(b => b.OnlineID); var dbBeatmapSets = r.All().Where(b => b.OnlineID == onlineBeatmapSet.OnlineID); @@ -104,7 +103,7 @@ namespace osu.Game.Screens.Select onlineBeatmap.BeatmapSet = onlineBeatmapSet; HashSet userTags = onlineBeatmap.GetTopUserTags(confirmedOnly: true) .Select(t => t.Tag.Name) - .ToHashSet() ?? []; + .ToHashSet(); if (!userTags.SetEquals(dbBeatmap.Metadata.UserTags)) {