瀏覽代碼

Fix Regression: running current scene (unsaved) will ask for main scene

Marcin Zawiejski 8 年之前
父節點
當前提交
a14bd70995
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/editor_node.cpp

+ 1 - 1
editor/editor_node.cpp

@@ -1109,7 +1109,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;