You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
[Core] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
This commit is contained in:
@@ -333,7 +333,7 @@ IP *(*IP::_create)() = nullptr;
|
||||
|
||||
IP *IP::create() {
|
||||
ERR_FAIL_COND_V_MSG(singleton, nullptr, "IP singleton already exist.");
|
||||
ERR_FAIL_COND_V(!_create, nullptr);
|
||||
ERR_FAIL_NULL_V(_create, nullptr);
|
||||
return _create();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user