summaryrefslogtreecommitdiffstats
path: root/editor/editor_data.cpp
diff options
context:
space:
mode:
authorVolTer <mew.pur.pur@abv.bg>2022-11-16 00:13:39 +0100
committerVolTer <mew.pur.pur@abv.bg>2022-11-16 14:01:53 +0100
commit3b4f5f8a04f21d94bb40aeef8dc1240953e9b8fc (patch)
treed7135a928846cc7c073bc6f9dec094133c4cab77 /editor/editor_data.cpp
parenta1bc636098c91ed47a8d9a23e07a4c85b64c1884 (diff)
downloadredot-engine-3b4f5f8a04f21d94bb40aeef8dc1240953e9b8fc.tar.gz
Remove more instances of 'instance' being used as a verb
Diffstat (limited to 'editor/editor_data.cpp')
-rw-r--r--editor/editor_data.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_data.cpp b/editor/editor_data.cpp
index a3dd19bb67..48be0c9c00 100644
--- a/editor/editor_data.cpp
+++ b/editor/editor_data.cpp
@@ -486,7 +486,7 @@ void EditorData::add_custom_type(const String &p_type, const String &p_inherits,
custom_types[p_inherits].push_back(ct);
}
-Variant EditorData::instance_custom_type(const String &p_type, const String &p_inherits) {
+Variant EditorData::instantiate_custom_type(const String &p_type, const String &p_inherits) {
if (get_custom_types().has(p_inherits)) {
for (int i = 0; i < get_custom_types()[p_inherits].size(); i++) {
if (get_custom_types()[p_inherits][i].name == p_type) {