mirror of
https://github.com/ppy/osu
synced 2025-01-22 05:43:14 +00:00
Remove one more usage of IsManaged
which could potentially go wrong
This commit is contained in:
parent
d27ee2c9fb
commit
11ca1b6e7b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user