Browse Source

Merge pull request #13059 from dragmz/13009

Fix Regression: running current scene (unsaved) will ask for main scene
Rémi Verschelde 8 years ago
parent
commit
9143df1597
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/editor_node.cpp

+ 1 - 1
editor/editor_node.cpp

@@ -1115,7 +1115,7 @@ void EditorNode::_dialog_action(String p_file) {
 
 
 				_save_default_environment();
 				_save_default_environment();
 				_save_scene_with_preview(p_file);
 				_save_scene_with_preview(p_file);
-				_run(false);
+				_run(false, p_file);
 			}
 			}
 		} break;
 		} break;