Skip to content

Commit

Permalink
Merge pull request #64 from MysticalMonkeys/Klak-Fix-Vector-Out-Node
Browse files Browse the repository at this point in the history
Fix VectorOut.cs
  • Loading branch information
hoodihoon authored Sep 13, 2023
2 parents 79dee74 + ded4ced commit d23d7ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/Klak/Wiring/Output/VectorOut.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ public Vector3 input

if (_target.GetType() == typeof(ParticleSystem) && _particleSystemModuleName != "<none>")
{
_propertyInfo.SetValue(_boxedStruct, System.Convert.ToInt32(value), null);
_propertyInfo.SetValue(_boxedStruct, value, null);
}

else _propertyInfo.SetValue(_target, System.Convert.ToInt32(value), null);
else _propertyInfo.SetValue(_target, value, null);

}
}
Expand Down

0 comments on commit d23d7ff

Please sign in to comment.