Merge pull request #8772 from peppy/fix-select-new-from-sub-screen

Fix carousel not correctly updating when selection changes to a new beatmap from a child screen
This commit is contained in:
Dan Balasescu
2020-04-21 15:52:38 +09:00
committed by GitHub

View File

@ -224,6 +224,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;