summaryrefslogtreecommitdiff
path: root/editor/export
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-12-09 14:20:18 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-12-09 14:20:18 +0100
commitdc1a3fb9528ab144bb25988b3d882e177fb1c445 (patch)
tree84019bec0388b35be0be2e9057e6527444d13ee5 /editor/export
parentc6e40e1c01200052450df10d9126f8ea7f57de30 (diff)
Editor: Fix regression fetching Windows/Linux export templates
Regression from #67906.
Diffstat (limited to 'editor/export')
-rw-r--r--editor/export/editor_export_platform_pc.cpp4
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"));