diff --git a/osu.Game/Rulesets/Difficulty/DifficultyCalculator.cs b/osu.Game/Rulesets/Difficulty/DifficultyCalculator.cs
index eab81186d5..5b4284dc2f 100644
--- a/osu.Game/Rulesets/Difficulty/DifficultyCalculator.cs
+++ b/osu.Game/Rulesets/Difficulty/DifficultyCalculator.cs
@@ -58,6 +58,11 @@ namespace osu.Game.Rulesets.Difficulty
return CreateDifficultyAttributes(Beatmap, playableMods, skills, clockRate);
}
+ ///
+ /// Calculates the difficulty of the beatmap and returns a set of representing the difficulty at every relevant time value in the beatmap.
+ ///
+ /// The mods that should be applied to the beatmap.
+ /// The set of .
public List CalculateTimed(params Mod[] mods)
{
preProcess(mods);
@@ -77,7 +82,7 @@ namespace osu.Game.Rulesets.Difficulty
foreach (var skill in skills)
skill.ProcessInternal(hitObject);
- attribs.Add(new TimedDifficultyAttributes(hitObject.EndTime, CreateDifficultyAttributes(progressiveBeatmap, playableMods, skills, clockRate)));
+ attribs.Add(new TimedDifficultyAttributes(hitObject.EndTime * clockRate, CreateDifficultyAttributes(progressiveBeatmap, playableMods, skills, clockRate)));
}
return attribs;
diff --git a/osu.Game/Rulesets/Difficulty/TimedDifficultyAttributes.cs b/osu.Game/Rulesets/Difficulty/TimedDifficultyAttributes.cs
index 973b2dacb2..2509971389 100644
--- a/osu.Game/Rulesets/Difficulty/TimedDifficultyAttributes.cs
+++ b/osu.Game/Rulesets/Difficulty/TimedDifficultyAttributes.cs
@@ -11,9 +11,21 @@ namespace osu.Game.Rulesets.Difficulty
///
public class TimedDifficultyAttributes : IComparable
{
+ ///
+ /// The non-clock-adjusted time value at which the attributes take effect.
+ ///
public readonly double Time;
+
+ ///
+ /// The attributes.
+ ///
public readonly DifficultyAttributes Attributes;
+ ///
+ /// Creates new .
+ ///
+ /// The non-clock-adjusted time value at which the attributes take effect.
+ /// The attributes.
public TimedDifficultyAttributes(double time, DifficultyAttributes attributes)
{
Time = time;