summaryrefslogtreecommitdiffstats
path: root/editor/export/editor_export.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/export/editor_export.cpp')
-rw-r--r--editor/export/editor_export.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/editor/export/editor_export.cpp b/editor/export/editor_export.cpp
index 0c1cce9f3e..1be9fe5740 100644
--- a/editor/export/editor_export.cpp
+++ b/editor/export/editor_export.cpp
@@ -219,6 +219,12 @@ void EditorExport::load_config() {
}
String platform = config->get_value(section, "platform");
+#ifndef DISABLE_DEPRECATED
+ // Compatibility with Linux platform before 4.3.
+ if (platform == "Linux/X11") {
+ platform = "Linux";
+ }
+#endif
Ref<EditorExportPreset> preset;