mirror of
https://github.com/ppy/osu.git
synced 2025-02-19 19:33:22 +08:00
Fix race condition when attempting to start a beatmap during debounce.
This commit is contained in:
parent
589e89fed3
commit
2dcb4e9b93
@ -196,6 +196,11 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
private void raiseSelect()
|
||||
{
|
||||
var pendingSelection = selectionChangedDebounce;
|
||||
selectionChangedDebounce = null;
|
||||
|
||||
pendingSelection?.RunTask();
|
||||
|
||||
if (Beatmap == null) return;
|
||||
|
||||
OnSelected();
|
||||
|
Loading…
Reference in New Issue
Block a user