Skip to content

Commit 45cac42

Browse files
authoredDec 9, 2022
Merge pull request #69805 from akien-mga/editor-fix-looking-up-pc-templates
Editor: Fix regression fetching Windows/Linux export templates
2 parents c6e40e1 + dc1a3fb commit 45cac42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎editor/export/editor_export_platform_pc.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ bool EditorExportPlatformPC::has_valid_export_configuration(const Ref<EditorExpo
8181

8282
// Look for export templates (first official, and if defined custom templates).
8383
String arch = p_preset->get("binary_format/architecture");
84-
bool dvalid = exists_export_template(get_template_file_name("template_debug", arch), &err);
85-
bool rvalid = exists_export_template(get_template_file_name("template_release", arch), &err);
84+
bool dvalid = exists_export_template(get_template_file_name("debug", arch), &err);
85+
bool rvalid = exists_export_template(get_template_file_name("release", arch), &err);
8686

8787
if (p_preset->get("custom_template/debug") != "") {
8888
dvalid = FileAccess::exists(p_preset->get("custom_template/debug"));

0 commit comments

Comments
 (0)
Please sign in to comment.