From 3a93499f899c68db38b68239f227e381e5ded20e Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Tue, 27 Nov 2018 19:55:37 -0300 Subject: Allow signal connecting even if script is invalid (only when compiled with tools), fixes #17070 --- core/script_language.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/script_language.h') 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; -- cgit v1.2.3