[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
|
|
@ -152,7 +152,7 @@ public:
|
|||
}
|
||||
|
||||
GDScriptDataType get_container_element_type() const {
|
||||
ERR_FAIL_COND_V(container_element_type == nullptr, GDScriptDataType());
|
||||
ERR_FAIL_NULL_V(container_element_type, GDScriptDataType());
|
||||
return *container_element_type;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue