diff --git a/tpl/macro_ecs.twig b/tpl/macro_ecs.twig index 072c8fd..4e9dd7b 100644 --- a/tpl/macro_ecs.twig +++ b/tpl/macro_ecs.twig @@ -1,3 +1,3 @@ {%- macro ecs_component_field(obj, field) -%} - public {{field.type}} {{field.name}}; + public {{field.type|cs_type}} {{field.name}}; {%- endmacro -%} \ No newline at end of file