diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-06-03 14:01:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-03 14:01:07 +0200 |
commit | b9dc2e7e4dd38621ef0dd07d208ffc5468954adb (patch) | |
tree | d32c83f57a61ff9e1e6fa697176d61297fc9f8a8 /modules/gdnative/pluginscript/pluginscript_language.cpp | |
parent | 0dac4d6db6553a90ed5e9daf06fe3a1cd3e3fb5f (diff) | |
parent | 2ad302cec4dc41db8cbb657b2e1946275967f1c4 (diff) | |
download | redot-engine-b9dc2e7e4dd38621ef0dd07d208ffc5468954adb.tar.gz |
Merge pull request #28099 from lupoDharkael/fix-completion
Fix code completion not working with class_name
Diffstat (limited to 'modules/gdnative/pluginscript/pluginscript_language.cpp')
-rw-r--r-- | modules/gdnative/pluginscript/pluginscript_language.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdnative/pluginscript/pluginscript_language.cpp b/modules/gdnative/pluginscript/pluginscript_language.cpp index c9d92c09ed..7cb47ec623 100644 --- a/modules/gdnative/pluginscript/pluginscript_language.cpp +++ b/modules/gdnative/pluginscript/pluginscript_language.cpp @@ -159,13 +159,13 @@ String PluginScriptLanguage::make_function(const String &p_class, const String & return String(); } -Error PluginScriptLanguage::complete_code(const String &p_code, const String &p_base_path, Object *p_owner, List<String> *r_options, bool &r_force, String &r_call_hint) { +Error PluginScriptLanguage::complete_code(const String &p_code, const String &p_path, Object *p_owner, List<String> *r_options, bool &r_force, String &r_call_hint) { if (_desc.complete_code) { Array options; godot_error tmp = _desc.complete_code( _data, (godot_string *)&p_code, - (godot_string *)&p_base_path, + (godot_string *)&p_path, (godot_object *)p_owner, (godot_array *)&options, &r_force, |