Skip to content

Commit

Permalink
Merge pull request #69805 from akien-mga/editor-fix-looking-up-pc-tem…
Browse files Browse the repository at this point in the history
…plates

Editor: Fix regression fetching Windows/Linux export templates
  • Loading branch information
akien-mga authored Dec 9, 2022
2 parents c6e40e1 + dc1a3fb commit 45cac42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editor/export/editor_export_platform_pc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ bool EditorExportPlatformPC::has_valid_export_configuration(const Ref<EditorExpo

// Look for export templates (first official, and if defined custom templates).
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") != "") {
dvalid = FileAccess::exists(p_preset->get("custom_template/debug"));
Expand Down

0 comments on commit 45cac42

Please sign in to comment.