mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 16:03:01 +08:00
Cancel the existing scheduled task when running it ahead of time.
This commit is contained in:
parent
2dcb4e9b93
commit
1e3847c73c
@ -200,6 +200,7 @@ namespace osu.Game.Screens.Select
|
||||
selectionChangedDebounce = null;
|
||||
|
||||
pendingSelection?.RunTask();
|
||||
pendingSelection?.Cancel(); // cancel the already scheduled task.
|
||||
|
||||
if (Beatmap == null) return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user