summaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorLeon Krause <lk@leonkrause.com>2018-05-10 20:17:51 +0200
committerLeon Krause <lk@leonkrause.com>2018-05-10 20:17:51 +0200
commitaf7926cf9863343a43b3673ab2d3fbe27f3e88ea (patch)
tree1f6970a9e32a0d577ba9deaec00e721dcd2b5b13 /editor/editor_node.cpp
parent0f930f831410bc57d0e975b4ab73715d0d034735 (diff)
Allow exporting runnable presets from command line
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index fd5a6dffc9..3f0a09cfd9 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -483,7 +483,7 @@ void EditorNode::_fs_changed() {
// come during the export
export_defer.preset = "";
Error err = OK;
- if (!preset->is_runnable() && (export_defer.path.ends_with(".pck") || export_defer.path.ends_with(".zip"))) {
+ if (export_defer.path.ends_with(".pck") || export_defer.path.ends_with(".zip")) {
if (export_defer.path.ends_with(".zip")) {
err = platform->export_zip(preset, export_defer.debug, export_defer.path);
} else if (export_defer.path.ends_with(".pck")) {