1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-20 01:19:52 +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:
Dan Balasescu
2025-03-03 14:19:38 +09:00
Unverified
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;