mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 05:22:54 +08:00
Actually pass in the cancellation token
This commit is contained in:
parent
98125102a7
commit
4079642d58
@ -134,7 +134,7 @@ namespace osu.Game.Beatmaps
|
|||||||
if (cancellationSource.IsCancellationRequested)
|
if (cancellationSource.IsCancellationRequested)
|
||||||
throw new BeatmapLoadTimeoutException(BeatmapInfo);
|
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>())
|
foreach (var mod in mods.OfType<IApplicableToHitObject>())
|
||||||
|
Loading…
Reference in New Issue
Block a user