[Modules] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
This commit is contained in:
parent
36945dad07
commit
517e9f8aef
44 changed files with 557 additions and 557 deletions
|
|
@ -60,7 +60,7 @@ bool GDScriptCompiler::_is_class_member_property(GDScript *owner, const StringNa
|
|||
scr = scr->_base;
|
||||
}
|
||||
|
||||
ERR_FAIL_COND_V(!nc, false);
|
||||
ERR_FAIL_NULL_V(nc, false);
|
||||
|
||||
return ClassDB::has_property(nc->get_name(), p_name);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue