Fix perfect curve anchors losing type between reloads

This commit is contained in:
OliBomby 2024-08-16 14:24:55 +02:00
parent 4cc38cea63
commit a2e26ba9ff
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ private IEnumerable<ArraySegment<PathControlPoint>> convertPoints(PathType type,
vertices[i] = new PathControlPoint { Position = points[i] };
// Edge-case rules (to match stable).
if (type == PathType.PERFECT_CURVE)
if (type == PathType.PERFECT_CURVE && FormatVersion < LegacyBeatmapEncoder.FIRST_LAZER_VERSION)
{
int endPointLength = endPoint == null ? 0 : 1;