mirror of
https://github.com/ppy/osu.git
synced 2025-03-11 00:57:24 +08:00
Cancel slider generation when requested
Didn't notice a particular case with this one, just came up as I was looking through code.
This commit is contained in:
parent
ad9a963bd0
commit
52dad09b20
@ -46,6 +46,8 @@ namespace osu.Game.Rulesets.Objects
|
||||
|
||||
for (int span = 0; span < spanCount; span++)
|
||||
{
|
||||
cancellationToken.ThrowIfCancellationRequested();
|
||||
|
||||
double spanStartTime = startTime + span * spanDuration;
|
||||
bool reversed = span % 2 == 1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user