diff --git a/tpl/macro.twig b/tpl/macro.twig index 21d7f7d..bb5eb74 100644 --- a/tpl/macro.twig +++ b/tpl/macro.twig @@ -456,7 +456,7 @@ Script_{{o.name|norm_name}}.Method_{{m.name}}.ReturnValue(frm, stack {%- else -%} {%- if type is instanceof('\\mtgMetaFunc') -%} - {{value}}.SetObj({{native}}, fld.Type) + {{value}}.SetObj({{native}}, Types.Any) {%- endif -%} {%- if type is instanceof('\\mtgArrType') -%}