mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 04:13:00 +08:00
moved 2b straintime cap up to 25ms
This commit is contained in:
parent
463b92fcca
commit
2c3e7bfd2d
@ -17,7 +17,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Preprocessing
|
|||||||
protected new OsuHitObject BaseObject => (OsuHitObject)base.BaseObject;
|
protected new OsuHitObject BaseObject => (OsuHitObject)base.BaseObject;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Milliseconds elapsed since the start time of the previous <see cref="OsuDifficultyHitObject"/>, with a minimum of 1ms to account for simultaneous <see cref="OsuDifficultyHitObject"/>s.
|
/// Milliseconds elapsed since the start time of the previous <see cref="OsuDifficultyHitObject"/>, with a minimum of 25ms to account for simultaneous <see cref="OsuDifficultyHitObject"/>s.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public double StrainTime { get; private set; }
|
public double StrainTime { get; private set; }
|
||||||
|
|
||||||
@ -48,8 +48,8 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Preprocessing
|
|||||||
|
|
||||||
setDistances();
|
setDistances();
|
||||||
|
|
||||||
// Capped to 1ms to prevent difficulty calculation breaking from simulatenous objects.
|
// Capped to 25ms to prevent difficulty calculation breaking from simulatenous objects.
|
||||||
StrainTime = Math.Max(DeltaTime, 1);
|
StrainTime = Math.Max(DeltaTime, 25);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setDistances()
|
private void setDistances()
|
||||||
|
Loading…
Reference in New Issue
Block a user