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 --- modules/mono/csharp_script.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/mono/csharp_script.cpp') 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; -- cgit v1.2.3