1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 17:47:29 +08:00

Give velocity a sane default value.

This commit is contained in:
smoogipooo 2017-05-29 12:19:51 +09:00
parent 231b1ae610
commit c137ee822c

View File

@ -29,7 +29,7 @@ namespace osu.Game.Rulesets.Objects.Legacy
public double EndTime => StartTime + RepeatCount * Distance / Velocity;
public double Duration => EndTime - StartTime;
public double Velocity;
public double Velocity = 1;
public Vector2 PositionAt(double progress)
{