1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 06:42:54 +08:00

Fix incorrect flush logic when starting play from non-selected difficulty using context menu

This commit is contained in:
Dean Herbert 2017-12-18 11:31:38 +09:00
parent 4e46565f6e
commit 4c1f00567b

View File

@ -214,6 +214,8 @@ namespace osu.Game.Screens.Select
// it could change selection (ie. if the ruleset has been changed).
carousel.FlushPendingFilterOperations();
carousel.SelectBeatmap(beatmap);
if (selectionChangedDebounce?.Completed == false)
{
selectionChangedDebounce.RunTask();
@ -221,8 +223,6 @@ namespace osu.Game.Screens.Select
selectionChangedDebounce = null;
}
carousel.SelectBeatmap(beatmap);
Start();
}