mirror of
https://github.com/ppy/osu
synced 2024-12-17 04:15:37 +00:00
Use static BEZIER
instead of allocating new every time
This commit is contained in:
parent
487326a4c7
commit
80a3225bb2
@ -230,7 +230,7 @@ namespace osu.Game.Rulesets.Objects.Legacy
|
||||
if (input.Length > 1 && int.TryParse(input.Substring(1), out int degree) && degree > 0)
|
||||
return PathType.BSpline(degree);
|
||||
|
||||
return new PathType(SplineType.BSpline);
|
||||
return PathType.BEZIER;
|
||||
|
||||
case 'L':
|
||||
return PathType.LINEAR;
|
||||
|
Loading…
Reference in New Issue
Block a user