1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-25 18:57:18 +08:00

Remove pointless initial MusicController beatmap set population

Looks to pass tests and all usages look safe enough.
This commit is contained in:
Dean Herbert 2022-01-21 19:56:32 +09:00
parent 1f157d729d
commit 63226f7def

View File

@ -87,12 +87,6 @@ namespace osu.Game.Overlays
protected override void LoadComplete()
{
base.LoadComplete();
// ensure we're ready before completing async load.
// probably not a good way of handling this (as there is a period we aren't watching for changes until the realm subscription finishes up.
foreach (var s in availableBeatmaps)
beatmapSets.Add(s.Detach());
beatmapSubscription = realmFactory.Register(realm => availableBeatmaps.QueryAsyncWithNotifications(beatmapsChanged));
}