1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 09:32:55 +08:00

fix oversight

This commit is contained in:
Aergwyn 2018-01-23 16:44:33 +01:00
parent 2c0dd1815c
commit 4baadfdd16

View File

@ -63,7 +63,7 @@ namespace osu.Game.Rulesets.Osu.Objects
/// <summary>
/// The length of one repeat if any repeats are present, otherwise it equals the <see cref="Duration"/>.
/// </summary>
public double SpanDuration => RepeatCount > 1 ? Distance / Velocity : Duration;
public double SpanDuration => RepeatCount > 0 ? Distance / Velocity : Duration;
private int stackHeight;