1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 13:37:25 +08:00

Fix carousel not correctly updating when selection changes to a new beatmap from a child screen

This commit is contained in:
Dean Herbert 2020-04-16 18:10:35 +09:00
parent 5ec8d49241
commit d62094cd4b

View File

@ -217,6 +217,9 @@ namespace osu.Game.Screens.Select
/// <returns>True if a selection was made, False if it wasn't.</returns>
public bool SelectBeatmap(BeatmapInfo beatmap, bool bypassFilters = true)
{
// ensure that any pending events from BeatmapManager have been run before attempting a selection.
Scheduler.Update();
if (beatmap?.Hidden != false)
return false;