diff options
author | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2023-09-28 11:40:18 +0200 |
---|---|---|
committer | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2023-10-08 17:23:33 +0200 |
commit | f18aa00e8505439c1afc3dc0eb309429a88cf4de (patch) | |
tree | f62c7b1314ea19468e1f379ebde52938e4dbefd9 /editor/project_manager.cpp | |
parent | 6916349697a4339216469e9bf5899b983d78db07 (diff) | |
download | redot-engine-f18aa00e8505439c1afc3dc0eb309429a88cf4de.tar.gz |
Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
Diffstat (limited to 'editor/project_manager.cpp')
-rw-r--r-- | editor/project_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index e7fe9a353c..b04773d371 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -397,7 +397,7 @@ void ProjectDialog::_nonempty_confirmation_ok_pressed() { } void ProjectDialog::_renderer_selected() { - ERR_FAIL_COND(!renderer_button_group->get_pressed_button()); + ERR_FAIL_NULL(renderer_button_group->get_pressed_button()); String renderer_type = renderer_button_group->get_pressed_button()->get_meta(SNAME("rendering_method")); |