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 /core/script_language.h | |
parent | 145a45fd3f15b3d7929e5e702b8828186fed34fb (diff) | |
download | redot-engine-2ad302cec4dc41db8cbb657b2e1946275967f1c4.tar.gz |
Don't allow class_name in built-in scripts
Diffstat (limited to 'core/script_language.h')
-rw-r--r-- | core/script_language.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/script_language.h b/core/script_language.h index 1eace8088a..e2cb7ae7f1 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -264,7 +264,7 @@ public: int location; }; - virtual Error lookup_code(const String &p_code, const String &p_symbol, const String &p_base_path, Object *p_owner, LookupResult &r_result) { return ERR_UNAVAILABLE; } + virtual Error lookup_code(const String &p_code, const String &p_symbol, const String &p_path, Object *p_owner, LookupResult &r_result) { return ERR_UNAVAILABLE; } virtual void auto_indent_code(String &p_code, int p_from_line, int p_to_line) const = 0; virtual void add_global_constant(const StringName &p_variable, const Variant &p_value) = 0; |