Fix incorrect repeat point count

This commit is contained in:
smoogipoo 2019-12-12 18:42:48 +09:00
parent c3475a2dde
commit d1dc3456d1
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ private void handleOsuHitObject(TextWriter writer, HitObject hitObject)
writer.Write(i != curveData.Path.ControlPoints.Count - 1 ? "|" : ",");
}
writer.Write(FormattableString.Invariant($"{curveData.RepeatCount - 1},"));
writer.Write(FormattableString.Invariant($"{curveData.RepeatCount + 1},"));
writer.Write(FormattableString.Invariant($"{curveData.Path.Distance},"));
for (int i = 0; i < curveData.NodeSamples.Count; i++)