mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 13:22:55 +08:00
Fix scheduled task not being canceled
This commit is contained in:
parent
e6e443dbce
commit
09adb23591
@ -319,7 +319,10 @@ namespace osu.Game.Screens.Select
|
|||||||
bool beatmapSetChange = false;
|
bool beatmapSetChange = false;
|
||||||
|
|
||||||
if (beatmap.Equals(Beatmap?.BeatmapInfo))
|
if (beatmap.Equals(Beatmap?.BeatmapInfo))
|
||||||
|
{
|
||||||
|
selectionChangedDebounce?.Cancel();
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (beatmap.BeatmapSetInfoID == selectionChangeNoBounce?.BeatmapSetInfoID)
|
if (beatmap.BeatmapSetInfoID == selectionChangeNoBounce?.BeatmapSetInfoID)
|
||||||
sampleChangeDifficulty.Play();
|
sampleChangeDifficulty.Play();
|
||||||
|
Loading…
Reference in New Issue
Block a user