diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-12-09 14:31:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-09 14:31:58 +0100 |
commit | 45cac42c0b511672240c1fcccecfd3cc0580edcb (patch) | |
tree | 84019bec0388b35be0be2e9057e6527444d13ee5 | |
parent | c6e40e1c01200052450df10d9126f8ea7f57de30 (diff) | |
parent | dc1a3fb9528ab144bb25988b3d882e177fb1c445 (diff) |
Merge pull request #69805 from akien-mga/editor-fix-looking-up-pc-templates
Editor: Fix regression fetching Windows/Linux export templates
-rw-r--r-- | editor/export/editor_export_platform_pc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/export/editor_export_platform_pc.cpp b/editor/export/editor_export_platform_pc.cpp index 5345346c48..9de2f94900 100644 --- a/editor/export/editor_export_platform_pc.cpp +++ b/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). 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")); |