From 6fefcfd46a7b37d06311819d390bbc87ecb044a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sat, 28 May 2016 14:59:00 +0200 Subject: [PATCH] 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 ea751724a21e3513ff2291aa24491e9d91c8c0f0. Closes #4045. --- tools/editor/editor_node.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index af27f7d4a7b..fedf738af43 100644 --- a/tools/editor/editor_node.cpp +++ b/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 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;