diff --git a/osu.Game/Screens/Select/BeatmapCarousel.cs b/osu.Game/Screens/Select/BeatmapCarousel.cs index c72f599955..245dfb091c 100644 --- a/osu.Game/Screens/Select/BeatmapCarousel.cs +++ b/osu.Game/Screens/Select/BeatmapCarousel.cs @@ -375,6 +375,9 @@ namespace osu.Game.Screens.Select if (group == null) return; + if (selectedGroup == group) + SelectNext(); + groups.Remove(group); panels.Remove(group.Header); foreach (var p in group.BeatmapPanels) @@ -383,9 +386,6 @@ namespace osu.Game.Screens.Select scrollableContent.Remove(group.Header); scrollableContent.RemoveRange(group.BeatmapPanels); - if (selectedGroup == group) - SelectNext(); - computeYPositions(); }