mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 11:22:58 +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()
|
private void raiseSelect()
|
||||||
{
|
{
|
||||||
|
var pendingSelection = selectionChangedDebounce;
|
||||||
|
selectionChangedDebounce = null;
|
||||||
|
|
||||||
|
pendingSelection?.RunTask();
|
||||||
|
|
||||||
if (Beatmap == null) return;
|
if (Beatmap == null) return;
|
||||||
|
|
||||||
OnSelected();
|
OnSelected();
|
||||||
|
Loading…
Reference in New Issue
Block a user