diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-11-27 19:55:37 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2018-11-27 19:55:37 -0300 |
commit | 3a93499f899c68db38b68239f227e381e5ded20e (patch) | |
tree | 609de32458bc898c34c08f5996862bbac49ca903 /modules/mono/csharp_script.cpp | |
parent | 616b91b498b332c5cace5ed8324eb818d7eb68d2 (diff) | |
download | redot-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.cpp')
-rw-r--r-- | modules/mono/csharp_script.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index 700e518cfc..0a54ed5fbd 100644 --- a/modules/mono/csharp_script.cpp +++ b/modules/mono/csharp_script.cpp @@ -2571,6 +2571,10 @@ void CSharpScript::update_exports() { #endif } +bool CSharpScript::is_valid() const { + return true; //TODO return false if invalid +} + bool CSharpScript::has_script_signal(const StringName &p_signal) const { if (_signals.has(p_signal)) return true; |