Browse Source

Merge pull request #4857 from akien-mga/pr-fix-pm-base-dir

Editor: Fix base dir when going back to project manager
Rémi Verschelde 9 năm trước cách đây
mục cha
commit
d9e8652893
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      tools/editor/editor_node.cpp

+ 2 - 2
tools/editor/editor_node.cpp

@@ -2732,8 +2732,8 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) {
 			String exec = OS::get_singleton()->get_executable_path();
 
 			List<String> args;
-			//args.push_back ( "-path" );
-			//args.push_back (exec.get_base_dir() );
+			args.push_back("-path");
+			args.push_back(exec.get_base_dir());
 			args.push_back("-pm");
 
 			OS::ProcessID pid=0;