mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
commit
b432e108d5
19 changed files with 97 additions and 97 deletions
|
|
@ -331,7 +331,7 @@ IP *IP::get_singleton() {
|
|||
IP *(*IP::_create)() = nullptr;
|
||||
|
||||
IP *IP::create() {
|
||||
ERR_FAIL_COND_V_MSG(singleton, nullptr, "IP singleton already exist.");
|
||||
ERR_FAIL_COND_V_MSG(singleton, nullptr, "IP singleton already exists.");
|
||||
ERR_FAIL_NULL_V(_create, nullptr);
|
||||
return _create();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue