diff options
| author | Rémi Verschelde | 2016-05-28 14:59:00 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-06-04 22:20:02 +0200 |
| commit | 1787ec12bed98be2852fc38a2da183b41dcc21ff (patch) | |
| tree | 3dd12ad945178547986538d036a9168e74db789a /tools/editor/editor_node.cpp | |
| parent | c67b1888b5ab6b01e8180a9c4ade4db3c58c49e7 (diff) | |
| download | godot-1787ec12bed98be2852fc38a2da183b41dcc21ff.tar.gz godot-1787ec12bed98be2852fc38a2da183b41dcc21ff.tar.zst godot-1787ec12bed98be2852fc38a2da183b41dcc21ff.zip | |
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.
(cherry picked from commit 6fefcfd46a7b37d06311819d390bbc87ecb044a7)
Diffstat (limited to '')
| -rw-r--r-- | tools/editor/editor_node.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index ecb9b30d5..e1d658222 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -2669,8 +2669,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; |
