You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Rename instance()->instantiate() when it's a verb
This commit is contained in:
@@ -704,7 +704,7 @@ Error ResourceLoaderBinary::load() {
|
||||
if (res.is_null()) {
|
||||
//did not replace
|
||||
|
||||
Object *obj = ClassDB::instance(t);
|
||||
Object *obj = ClassDB::instantiate(t);
|
||||
if (!obj) {
|
||||
error = ERR_FILE_CORRUPT;
|
||||
ERR_FAIL_V_MSG(ERR_FILE_CORRUPT, local_path + ":Resource of unrecognized type in file: " + t + ".");
|
||||
|
||||
Reference in New Issue
Block a user