Fix slider tail evaluation in osu difficulty calculator

The slider tail circle was already included as a nested hit object and is judged before the end of the slider's actual duration, so using the slider end time leads to an inaccurate travel distance and end position.
This commit is contained in:
Kyle Chang 2019-02-01 13:28:56 -05:00
parent 499e06797a
commit cf91b882c8
1 changed files with 0 additions and 1 deletions

View File

@ -143,7 +143,6 @@ private void computeSliderCursorPosition(Slider slider)
var scoringTimes = slider.NestedHitObjects.Skip(1).Select(t => t.StartTime);
foreach (var time in scoringTimes)
computeVertex(time);
computeVertex(slider.EndTime);
}
private Vector2 getEndCursorPosition(OsuHitObject hitObject)