Преглед изворни кода

Editor: Fix regression fetching Windows/Linux export templates

Regression from #67906.
Rémi Verschelde пре 2 година
родитељ
комит
dc1a3fb952
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      editor/export/editor_export_platform_pc.cpp

+ 2 - 2
editor/export/editor_export_platform_pc.cpp

@@ -81,8 +81,8 @@ bool EditorExportPlatformPC::has_valid_export_configuration(const Ref<EditorExpo
 
 
 	// Look for export templates (first official, and if defined custom templates).
 	// Look for export templates (first official, and if defined custom templates).
 	String arch = p_preset->get("binary_format/architecture");
 	String arch = p_preset->get("binary_format/architecture");
-	bool dvalid = exists_export_template(get_template_file_name("template_debug", arch), &err);
-	bool rvalid = exists_export_template(get_template_file_name("template_release", arch), &err);
+	bool dvalid = exists_export_template(get_template_file_name("debug", arch), &err);
+	bool rvalid = exists_export_template(get_template_file_name("release", arch), &err);
 
 
 	if (p_preset->get("custom_template/debug") != "") {
 	if (p_preset->get("custom_template/debug") != "") {
 		dvalid = FileAccess::exists(p_preset->get("custom_template/debug"));
 		dvalid = FileAccess::exists(p_preset->get("custom_template/debug"));