Rename component template for autogenerate

This commit is contained in:
Insality 2022-03-10 20:23:55 +02:00
parent 8256fc9d92
commit 70d4f0f1f8
3 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ no_auto_input = 1
By default, **Druid** will auto check the parent component template name to build the full template name for component.
If for some reason you want to pass the full template name by yourself, you can disable it by setting `druid.no_auto_input` field in _game.project_:
If for some reason you want to pass the full template name by yourself, you can disable it by setting `druid.no_auto_template` field in _game.project_:
```
[druid]

View File

@ -6,7 +6,7 @@ import sys
import deftree
current_filepath = os.path.abspath(os.path.dirname(__file__))
TEMPLATE_FILE = open(current_filepath + "/component_template.lua", "r")
TEMPLATE_FILE = open(current_filepath + "/component.lua_template", "r")
component_annotations = ""
component_functions = ""