mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 21:07:18 +09:00
Fix audio seeking when entering play mode in certain cases
Resolves #794
This commit is contained in:
parent
9b8d7745c7
commit
5ae3a7143e
@ -198,8 +198,11 @@ namespace osu.Game.Screens.Select
|
|||||||
var pendingSelection = selectionChangedDebounce;
|
var pendingSelection = selectionChangedDebounce;
|
||||||
selectionChangedDebounce = null;
|
selectionChangedDebounce = null;
|
||||||
|
|
||||||
pendingSelection?.RunTask();
|
if (pendingSelection?.Completed == false)
|
||||||
pendingSelection?.Cancel(); // cancel the already scheduled task.
|
{
|
||||||
|
pendingSelection?.RunTask();
|
||||||
|
pendingSelection?.Cancel(); // cancel the already scheduled task.
|
||||||
|
}
|
||||||
|
|
||||||
if (Beatmap == null) return;
|
if (Beatmap == null) return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user