Skip to content

Commit

Permalink
Merge pull request #20489 from abstrakt8/flashlight-stacked-end-position
Browse files Browse the repository at this point in the history
Use `StackedEndPosition` instead of `EndPosition` to determine the jump distance in the `FlashlightEvaluator`
  • Loading branch information
smoogipoo authored Sep 27, 2022
2 parents a0d05f5 + 6e1edc4 commit 8a45724
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static double EvaluateDifficultyOf(DifficultyHitObject current, bool hidd

if (!(currentObj.BaseObject is Spinner))
{
double jumpDistance = (osuHitObject.StackedPosition - currentHitObject.EndPosition).Length;
double jumpDistance = (osuHitObject.StackedPosition - currentHitObject.StackedEndPosition).Length;

cumulativeStrainTime += lastObj.StrainTime;

Expand Down

0 comments on commit 8a45724

Please sign in to comment.