mirror of
https://github.com/godotengine/godot.git
synced 2024-11-12 23:24:26 +00:00
Editor: Fix base dir when going back to project manager
This caused the PM to load with the parameters of the previously loaded project.
Was a regression from ea751724a2
. Closes #4045.
This commit is contained in:
parent
b2013603b4
commit
6fefcfd46a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user