summaryrefslogtreecommitdiffstats
path: root/core/script_language.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-11-27 19:55:37 -0300
committerJuan Linietsky <reduzio@gmail.com>2018-11-27 19:55:37 -0300
commit3a93499f899c68db38b68239f227e381e5ded20e (patch)
tree609de32458bc898c34c08f5996862bbac49ca903 /core/script_language.h
parent616b91b498b332c5cace5ed8324eb818d7eb68d2 (diff)
downloadredot-engine-3a93499f899c68db38b68239f227e381e5ded20e.tar.gz
Allow signal connecting even if script is invalid (only when compiled with tools), fixes #17070
Diffstat (limited to 'core/script_language.h')
-rw-r--r--core/script_language.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/script_language.h b/core/script_language.h
index bcd9c2c5ea..654d1d4265 100644
--- a/core/script_language.h
+++ b/core/script_language.h
@@ -128,6 +128,7 @@ public:
virtual MethodInfo get_method_info(const StringName &p_method) const = 0;
virtual bool is_tool() const = 0;
+ virtual bool is_valid() const = 0;
virtual ScriptLanguage *get_language() const = 0;