Skip to content

Commit

Permalink
Fix beatmap difficulties not being split out on first load
Browse files Browse the repository at this point in the history
Closes ppy#29728.
  • Loading branch information
peppy committed Sep 7, 2024
1 parent 3e3ee37 commit 4c6eb89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osu.Game/Screens/Select/BeatmapCarousel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ internal IEnumerable<BeatmapSetInfo> BeatmapSets

private void loadNewRoot()
{
beatmapsSplitOut = activeCriteria.SplitOutDifficulties;

// Ensure no changes are made to the list while we are initialising items.
// We'll catch up on changes via subscriptions anyway.
BeatmapSetInfo[] loadableSets = detachedBeatmapSets!.ToArray();
Expand Down Expand Up @@ -726,7 +728,6 @@ void perform()

if (activeCriteria.SplitOutDifficulties != beatmapsSplitOut)
{
beatmapsSplitOut = activeCriteria.SplitOutDifficulties;
loadNewRoot();
return;
}
Expand Down

0 comments on commit 4c6eb89

Please sign in to comment.