diff options
author | lupoDharkael <izhe@hotmail.es> | 2019-04-17 17:06:21 +0200 |
---|---|---|
committer | lupoDharkael <izhe@hotmail.es> | 2019-04-17 17:06:21 +0200 |
commit | 2ad302cec4dc41db8cbb657b2e1946275967f1c4 (patch) | |
tree | 78fcce3801c749425775de0d8120b5aa8f153960 /modules/gdscript/gdscript.h | |
parent | 145a45fd3f15b3d7929e5e702b8828186fed34fb (diff) | |
download | redot-engine-2ad302cec4dc41db8cbb657b2e1946275967f1c4.tar.gz |
Don't allow class_name in built-in scripts
Diffstat (limited to 'modules/gdscript/gdscript.h')
-rw-r--r-- | modules/gdscript/gdscript.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript.h b/modules/gdscript/gdscript.h index dd79e3b30f..5f4ca692a8 100644 --- a/modules/gdscript/gdscript.h +++ b/modules/gdscript/gdscript.h @@ -458,7 +458,7 @@ public: 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_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); + virtual Error lookup_code(const String &p_code, const String &p_symbol, const String &p_path, Object *p_owner, LookupResult &r_result); #endif virtual String _get_indentation() const; virtual void auto_indent_code(String &p_code, int p_from_line, int p_to_line) const; |