1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:07:44 +08:00

Rename osuPreviousHitObject to currentHitObject

This commit is contained in:
MBmasher 2021-12-21 20:06:07 +11:00
parent 0a33f336b0
commit a7aea49cb3

View File

@ -73,7 +73,7 @@ namespace osu.Game.Rulesets.Osu.Difficulty.Skills
double stackNerf = Math.Min(1.0, (currentObj.LazyJumpDistance / scalingFactor) / 25.0);
// Bonus based on how visible the object is.
double opacityBonus = 1.0 + max_opacity_bonus * (1.0 - osuCurrent.Opacity(osuPreviousHitObject.StartTime, hidden));
double opacityBonus = 1.0 + max_opacity_bonus * (1.0 - osuCurrent.Opacity(currentHitObject.StartTime, hidden));
result += stackNerf * scalingFactor * jumpDistance / cumulativeStrainTime;
}