mirror of
https://github.com/ppy/osu
synced 2025-03-25 04:18:03 +00:00
Only schedule when faulted
This commit is contained in:
parent
4b69477531
commit
6a05440e6c
@ -294,7 +294,7 @@ namespace osu.Game.Overlays
|
|||||||
trackManager.SetExclusive(current.Track);
|
trackManager.SetExclusive(current.Track);
|
||||||
current.Track.Start();
|
current.Track.Start();
|
||||||
beatmapSource.Value = current;
|
beatmapSource.Value = current;
|
||||||
}).ContinueWith(task => Schedule(() => task.ThrowIfFaulted()));
|
}).ContinueWith(task => Schedule(() => task.ThrowIfFaulted()), TaskContinuationOptions.OnlyOnFaulted);
|
||||||
updateDisplay(current, isNext ? TransformDirection.Next : TransformDirection.Prev);
|
updateDisplay(current, isNext ? TransformDirection.Next : TransformDirection.Prev);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user