Skip to content

Commit 0b7606d

Browse files
committed
a
1 parent 2f268fa commit 0b7606d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osu.Game/Rulesets/Difficulty/DifficultyCalculator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ public List<TimedDifficultyAttributes> CalculateTimed([NotNull] IEnumerable<Mod>
115115

116116
foreach (var timedAttr in CalculateTimedLazy(mods, cancellationToken))
117117
{
118+
cancellationToken.ThrowIfCancellationRequested();
118119
list.Add(timedAttr);
119120
}
120121

@@ -156,7 +157,6 @@ IEnumerable<TimedDifficultyAttributes> enumerateTimed()
156157
{
157158
foreach (var skill in skills)
158159
{
159-
cancellationToken.ThrowIfCancellationRequested();
160160
skill.Process(difficultyObjects[currentIndex]);
161161
}
162162

0 commit comments

Comments
 (0)