From 899c341fd3970418dba01dc8f13f5158356e0eb3 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Mon, 28 Nov 2016 17:55:19 +0900 Subject: [PATCH] Fix incorrect slider duration calculation. --- osu.Game.Mode.Osu/Objects/Slider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game.Mode.Osu/Objects/Slider.cs b/osu.Game.Mode.Osu/Objects/Slider.cs index fcca305369..90a9ac1f14 100644 --- a/osu.Game.Mode.Osu/Objects/Slider.cs +++ b/osu.Game.Mode.Osu/Objects/Slider.cs @@ -9,7 +9,7 @@ namespace osu.Game.Modes.Osu.Objects { public class Slider : OsuHitObject { - public override double EndTime => StartTime + (RepeatCount + 1) * Curve.Length / VelocityAt(StartTime); + public override double EndTime => StartTime + RepeatCount * Curve.Length / VelocityAt(StartTime); public double VelocityAt(double time) => 100 / Beatmap.BeatLengthAt(time, true) * Beatmap.BeatmapInfo.BaseDifficulty.SliderMultiplier;