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:
parent
5ec8d49241
commit
d62094cd4b
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user