summaryrefslogtreecommitdiffstats
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 041784d7da..5183bc4af3 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -969,6 +969,9 @@ void EditorNode::_fs_changed() {
err = platform->export_zip(export_preset, export_defer.debug, export_path);
} else if (export_path.ends_with(".pck")) {
err = platform->export_pack(export_preset, export_defer.debug, export_path);
+ } else {
+ ERR_PRINT(vformat("Export path \"%s\" doesn't end with a supported extension.", export_path));
+ err = FAILED;
}
} else { // Normal project export.
String config_error;