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.

(cherry picked from commit 6fefcfd46a)
This commit is contained in:
Rémi Verschelde 2016-05-28 14:59:00 +02:00
parent c67b1888b5
commit 1787ec12be
1 changed files with 2 additions and 2 deletions

View File

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