Fix GDScript script templates to use a PascalCase style for `_CLASS_`
This commit is contained in:
parent
d2d5e548c9
commit
9bd5ef1836
|
@ -80,7 +80,7 @@ Ref<Script> GDScriptLanguage::make_template(const String &p_template, const Stri
|
|||
}
|
||||
|
||||
processed_template = processed_template.replace("_BASE_", p_base_class_name)
|
||||
.replace("_CLASS_", p_class_name)
|
||||
.replace("_CLASS_", p_class_name.to_pascal_case())
|
||||
.replace("_TS_", _get_indentation());
|
||||
scr->set_source_code(processed_template);
|
||||
return scr;
|
||||
|
|
Loading…
Reference in New Issue