Remove one more usage of IsManaged which could potentially go wrong

This commit is contained in:
Dean Herbert 2022-01-17 13:40:27 +09:00
parent d27ee2c9fb
commit 11ca1b6e7b

View File

@ -117,7 +117,7 @@ namespace osu.Game.Screens.Select
newRoot.AddChildren(beatmapSets.Select(createCarouselSet).Where(g => g != null));
root = newRoot;
if (selectedBeatmapSet != null && (!selectedBeatmapSet.BeatmapSet.IsManaged || !beatmapSets.Contains(selectedBeatmapSet.BeatmapSet)))
if (selectedBeatmapSet != null && !beatmapSets.Contains(selectedBeatmapSet.BeatmapSet))
selectedBeatmapSet = null;
Scroll.Clear(false);