Export: Fix template path for PC (Windows, Linux)

Regression after #63096.
This commit is contained in:
Rémi Verschelde 2022-07-29 11:02:52 +02:00
parent 9869182e8a
commit af054f1003
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ Error EditorExportPlatformPC::prepare_template(const Ref<EditorExportPreset> &p_
template_path = template_path.strip_edges();
if (template_path.is_empty()) {
template_path = find_export_template(get_template_file_name(p_debug ? "debug" : "release", p_preset->get("binary_format/64_bits") ? "64" : "32"));
template_path = find_export_template(get_template_file_name(p_debug ? "debug" : "release", p_preset->get("binary_format/64_bits") ? "x86_64" : "x86_32"));
}
if (!template_path.is_empty() && !FileAccess::exists(template_path)) {