Actually pass in the cancellation token

This commit is contained in:
smoogipoo 2020-05-15 18:13:47 +09:00
parent 98125102a7
commit 4079642d58

View File

@ -134,7 +134,7 @@ namespace osu.Game.Beatmaps
if (cancellationSource.IsCancellationRequested)
throw new BeatmapLoadTimeoutException(BeatmapInfo);
obj.ApplyDefaults(converted.ControlPointInfo, converted.BeatmapInfo.BaseDifficulty);
obj.ApplyDefaults(converted.ControlPointInfo, converted.BeatmapInfo.BaseDifficulty, cancellationSource.Token);
}
foreach (var mod in mods.OfType<IApplicableToHitObject>())