From 304356aad70cf9313cd4c6a1c0e38ccbc3f5f505 Mon Sep 17 00:00:00 2001 From: Madpwnhammer Date: Fri, 2 Dec 2022 19:46:52 +0300 Subject: [PATCH] Codegen fixes --- tpl/codegen_register.twig | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tpl/codegen_register.twig b/tpl/codegen_register.twig index 2890865..e8ee6dc 100644 --- a/tpl/codegen_register.twig +++ b/tpl/codegen_register.twig @@ -2,11 +2,9 @@ using System; using System.Collections; using System.Collections.Generic; #if !BHL_FRONT -using BitGames; -using BitGames.Autogen; -using UnityEngine; -using Leopotam.Ecs; -using bhl; +{%- for imp in imports ~%} +using {{imp}}; +{%- endfor ~%} #endif {%- import "macro.twig" as macro -%}