Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable

This commit is contained in:
A Thousand Ships 2023-09-28 11:40:18 +02:00
parent 6916349697
commit f18aa00e85
45 changed files with 85 additions and 85 deletions

View file

@ -779,7 +779,7 @@ void ScriptEditor::_update_modified_scripts_for_external_editor(Ref<Script> p_fo
return;
}
ERR_FAIL_COND(!get_tree());
ERR_FAIL_NULL(get_tree());
HashSet<Ref<Script>> scripts;