Rename directory for export templates from templates to export_templates

This commit is contained in:
Aaron Franke
2022-07-22 12:35:43 -05:00
parent 79463aa5de
commit b00bb577e7
8 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -491,7 +491,7 @@ Ref<ImageTexture> EditorExportPlatform::get_option_icon(int p_index) const {
String EditorExportPlatform::find_export_template(String template_file_name, String *err) const {
String current_version = VERSION_FULL_CONFIG;
String template_path = EditorSettings::get_singleton()->get_templates_dir().plus_file(current_version).plus_file(template_file_name);
String template_path = EditorSettings::get_singleton()->get_export_templates_dir().plus_file(current_version).plus_file(template_file_name);
if (FileAccess::exists(template_path)) {
return template_path;