summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Zawiejski <dragmz@gmail.com>2017-11-19 22:59:05 +0100
committerMarcin Zawiejski <dragmz@gmail.com>2017-11-19 22:59:05 +0100
commita14bd7099582b493fe7863b7444b118688ba822d (patch)
treee80005f08516e01ce5e284a2c17990b95c39a7b6
parentbea607d53e4adff19956adbe09ace170d8cc40b8 (diff)
Fix Regression: running current scene (unsaved) will ask for main scene
-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 27f967cce7..272ff53772 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -1109,7 +1109,7 @@ void EditorNode::_dialog_action(String p_file) {
_save_default_environment();
_save_scene_with_preview(p_file);
- _run(false);
+ _run(false, p_file);
}
} break;