1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

Rename instance()->instantiate() when it's a verb

This commit is contained in:
Lightning_A
2021-06-17 16:03:09 -06:00
parent 60dcc4f39c
commit e28fd07b2b
371 changed files with 1318 additions and 1318 deletions

View File

@@ -738,10 +738,10 @@ Error VariantParser::parse_value(Token &token, Variant &value, Stream *p_stream,
String type = token.value;
Object *obj = ClassDB::instance(type);
Object *obj = ClassDB::instantiate(type);
if (!obj) {
r_err_str = "Can't instance Object() of type: " + type;
r_err_str = "Can't instantiate Object() of type: " + type;
return ERR_PARSE_ERROR;
}