summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript.h
diff options
context:
space:
mode:
authorlupoDharkael <izhe@hotmail.es>2019-04-16 22:27:13 +0200
committerlupoDharkael <izhe@hotmail.es>2019-04-16 22:27:13 +0200
commit145a45fd3f15b3d7929e5e702b8828186fed34fb (patch)
tree77cc3f3b341aa53afbe262453980b57de08cd9db /modules/gdscript/gdscript.h
parent1e2b3ac407a39b6dc4b2835bfed86f50c7e71ddc (diff)
downloadredot-engine-145a45fd3f15b3d7929e5e702b8828186fed34fb.tar.gz
Fix code completion not working with class_name
Diffstat (limited to 'modules/gdscript/gdscript.h')
-rw-r--r--modules/gdscript/gdscript.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript.h b/modules/gdscript/gdscript.h
index 1d75d9e2fe..dd79e3b30f 100644
--- a/modules/gdscript/gdscript.h
+++ b/modules/gdscript/gdscript.h
@@ -456,7 +456,7 @@ public:
virtual bool can_inherit_from_file() { return true; }
virtual int find_function(const String &p_function, const String &p_code) const;
virtual String make_function(const String &p_class, const String &p_name, const PoolStringArray &p_args) const;
- virtual Error complete_code(const String &p_code, const String &p_base_path, Object *p_owner, List<String> *r_options, bool &r_forced, String &r_call_hint);
+ virtual Error complete_code(const String &p_code, const String &p_path, Object *p_owner, List<String> *r_options, bool &r_forced, String &r_call_hint);
#ifdef TOOLS_ENABLED
virtual Error lookup_code(const String &p_code, const String &p_symbol, const String &p_base_path, Object *p_owner, LookupResult &r_result);
#endif