diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-06 07:43:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-06 07:43:52 +0200 |
commit | 89449bd0e30f036f0aa21b2cb11d302bad9052be (patch) | |
tree | d08d774fa53fc3368b13a23c0c3b5a9cd6327d57 /editor/editor_node.cpp | |
parent | 066692b6d081f1577bc0ebcd84da204339218ec6 (diff) | |
parent | 1dc7bcc83c81b32c3651f3fa869055a0cce22085 (diff) |
Merge pull request #59804 from KoBeWi/sponsored_by_Meta
Cleanup metadata usage
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r-- | editor/editor_node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 934948ac9e..194021669f 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -1882,7 +1882,7 @@ void EditorNode::_dialog_action(String p_file) { ProjectSettings::get_singleton()->save(); // TODO: Would be nice to show the project manager opened with the highlighted field. - if (pick_main_scene->has_meta("from_native") && (bool)pick_main_scene->get_meta("from_native")) { + if ((bool)pick_main_scene->get_meta("from_native", false)) { run_native->resume_run_native(); } else { _run(false, ""); // Automatically run the project. |