summaryrefslogtreecommitdiffstats
path: root/modules/mono/csharp_script.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 /modules/mono/csharp_script.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 'modules/mono/csharp_script.h')
-rw-r--r--modules/mono/csharp_script.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/mono/csharp_script.h b/modules/mono/csharp_script.h
index fc604df2a0..871d4d7e4c 100644
--- a/modules/mono/csharp_script.h
+++ b/modules/mono/csharp_script.h
@@ -158,6 +158,8 @@ public:
virtual void update_exports();
virtual bool is_tool() const { return tool; }
+ virtual bool is_valid() const;
+
virtual Ref<Script> get_base_script() const;
virtual ScriptLanguage *get_language() const;