Skip to content

Commit 96a345f

Browse files
committed
get correct parameters for variable
1 parent ce25d58 commit 96a345f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ private static void ApplyDefaultFunction(FunctionEntity functionEntity, Entity e
267267
Composite compositeInstance = _commands.GetComposite((functionEntity).function);
268268
foreach (VariableEntity variable in compositeInstance.variables)
269269
{
270-
parameters.AddRange(GetAllParameters(variable, composite, includeInherited));
270+
parameters.AddRange(GetAllParameters(variable, compositeInstance, includeInherited));
271271
}
272272
}
273273
break;

0 commit comments

Comments
 (0)