summaryrefslogtreecommitdiffstats
path: root/core/object/script_language_extension.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/object/script_language_extension.cpp')
-rw-r--r--core/object/script_language_extension.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object/script_language_extension.cpp b/core/object/script_language_extension.cpp
index 79f39cb626..be62cabe25 100644
--- a/core/object/script_language_extension.cpp
+++ b/core/object/script_language_extension.cpp
@@ -107,7 +107,7 @@ void ScriptLanguageExtension::_bind_methods() {
GDVIRTUAL_BIND(_supports_builtin_mode);
GDVIRTUAL_BIND(_supports_documentation);
GDVIRTUAL_BIND(_can_inherit_from_file);
- GDVIRTUAL_BIND(_find_function, "class_name", "function_name");
+ GDVIRTUAL_BIND(_find_function, "function", "code");
GDVIRTUAL_BIND(_make_function, "class_name", "function_name", "function_args");
GDVIRTUAL_BIND(_open_in_external_editor, "script", "line", "column");
GDVIRTUAL_BIND(_overrides_external_editor);