Skip to content

Commit 643e253

Browse files
committed
fix offset issue on target
1 parent 0cbe85d commit 643e253

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CathodeLib/Scripts/CATHODE/CommandsPAK/Helpers/ParameterUtils.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,7 @@ public static (ParameterVariant?, DataType?, FunctionType?) GetParameterMetadata
481481
dataType = DataType.FLOAT;
482482
if (isCorrectParam)
483483
return (variant, dataType, function);
484+
if (variant == ParameterVariant.TARGET_PIN) continue; //TargetPin can have a type, but doesn't have data.
484485
switch (dataType)
485486
{
486487
case DataType.BOOL:

0 commit comments

Comments
 (0)