Fix verbose flag from being kept when quitting to the project manager

This commit is contained in:
Paperzlel
2026-02-22 17:33:12 +00:00
parent 320e818469
commit 1900c5279d
+5
View File
@@ -6755,6 +6755,11 @@ void EditorNode::_restart_editor(bool p_goto_project_manager) {
args.push_back("--path");
args.push_back(exec_dir);
}
List<String>::Element *vbf = args.find("--verbose");
if (vbf) {
args.erase(vbf);
}
} else {
args.push_back("--path");
args.push_back(ProjectSettings::get_singleton()->get_resource_path());