1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 09:22:58 +08:00

Fix beatmap difficulties not being split out on first load

Closes https://github.com/ppy/osu/issues/29728.
This commit is contained in:
Dean Herbert 2024-09-07 22:05:33 +09:00
parent 3e3ee3757c
commit 4c6eb89530
No known key found for this signature in database

View File

@ -137,6 +137,8 @@ namespace osu.Game.Screens.Select
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();
@ -726,7 +728,6 @@ namespace osu.Game.Screens.Select
if (activeCriteria.SplitOutDifficulties != beatmapsSplitOut)
{
beatmapsSplitOut = activeCriteria.SplitOutDifficulties;
loadNewRoot();
return;
}