You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
[Modules] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user