From 6e6d22f9c86fc5aee0146d333f11759c039b2fc9 Mon Sep 17 00:00:00 2001 From: "a.samsonkin" Date: Wed, 25 Jan 2023 15:12:02 +0300 Subject: [PATCH] Fixed cs types --- tpl/macro_ecs.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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