mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 16:12:57 +08:00
Fix incorrect slider duration calculation.
This commit is contained in:
parent
9eb3e1168e
commit
899c341fd3
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user