mirror of
https://github.com/ppy/osu.git
synced 2025-02-19 12:23:13 +08:00
FIx potential sequence of execution issues in PlaylistOverlay
This commit is contained in:
parent
e448f79154
commit
a55586f2ad
@ -77,11 +77,11 @@ namespace osu.Game.Overlays.Music
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
beatmaps.BeatmapSetAdded += s => Schedule(() => list.AddBeatmapSet(s));
|
||||||
|
beatmaps.BeatmapSetRemoved += s => Schedule(() => list.RemoveBeatmapSet(s));
|
||||||
|
|
||||||
list.BeatmapSets = BeatmapSets = beatmaps.GetAllUsableBeatmapSets();
|
list.BeatmapSets = BeatmapSets = beatmaps.GetAllUsableBeatmapSets();
|
||||||
|
|
||||||
// todo: these should probably be above the query.
|
|
||||||
beatmaps.BeatmapSetAdded += s => list.AddBeatmapSet(s);
|
|
||||||
beatmaps.BeatmapSetRemoved += s => list.RemoveBeatmapSet(s);
|
|
||||||
|
|
||||||
beatmapBacking.BindTo(game.Beatmap);
|
beatmapBacking.BindTo(game.Beatmap);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user