Remove duplicate ERR_PRINTS macro
This commit is contained in:
@ -513,7 +513,7 @@ Object *ClassDB::instance(const StringName &p_class) {
|
||||
}
|
||||
#ifdef TOOLS_ENABLED
|
||||
if (ti->api == API_EDITOR && !Engine::get_singleton()->is_editor_hint()) {
|
||||
ERR_PRINTS("Class '" + String(p_class) + "' can only be instantiated by editor.");
|
||||
ERR_PRINT("Class '" + String(p_class) + "' can only be instantiated by editor.");
|
||||
return nullptr;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user