mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Added some obvious errors explanations
This commit is contained in:
parent
e9f49a6d5a
commit
17732fe698
125 changed files with 435 additions and 458 deletions
|
@ -305,7 +305,7 @@ IP *(*IP::_create)() = NULL;
|
|||
|
||||
IP *IP::create() {
|
||||
|
||||
ERR_FAIL_COND_V(singleton, NULL);
|
||||
ERR_FAIL_COND_V_MSG(singleton, NULL, "IP singleton already exist.");
|
||||
ERR_FAIL_COND_V(!_create, NULL);
|
||||
return _create();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue