Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
louis1706 committed Feb 7, 2024
1 parent 153c6de commit 70543eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ConfigBuild.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static object Parse(string value, Type targetType, out bool success)

value = value.Replace('(', ' ').Replace(')', ' ').Replace(" ", string.Empty);
string[] components = value.Split(',');
float x = 0, y = 0, z = 0, w = 0;
float x, y, z, w;

if (components.Length == 2 && float.TryParse(components[0], out x) && float.TryParse(components[1], out y))
{
Expand Down

0 comments on commit 70543eb

Please sign in to comment.