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:
parent
231b1ae610
commit
c137ee822c
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user