summaryrefslogtreecommitdiffstats
path: root/modules/mono/csharp_script.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-02-25 10:11:10 +0100
committerGitHub <noreply@github.com>2018-02-25 10:11:10 +0100
commit08584b7e2215c852b80dc143cf712ccc73f9cacb (patch)
tree7e8eb213889f1762cb196f1a5a9aa3db30400e4a /modules/mono/csharp_script.cpp
parent2df206e6a80013ee617c0f8bdbc6e1ca1134f897 (diff)
parent3c7d9001bc9591368d743e9bd6cc29a74c7bddd5 (diff)
downloadredot-engine-08584b7e2215c852b80dc143cf712ccc73f9cacb.tar.gz
Merge pull request #16804 from Valentactive/fix_mono_template_compiling
fix template builds with mono
Diffstat (limited to 'modules/mono/csharp_script.cpp')
-rw-r--r--modules/mono/csharp_script.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp
index b0854658ce..6287e675d8 100644
--- a/modules/mono/csharp_script.cpp
+++ b/modules/mono/csharp_script.cpp
@@ -1552,7 +1552,6 @@ bool CSharpScript::_update_exports() {
}
bool CSharpScript::_update_signals() {
-#ifdef TOOLS_ENABLED
if (!valid)
return false;
@@ -1583,8 +1582,6 @@ bool CSharpScript::_update_signals() {
}
return changed;
-#endif
- return false;
}
bool CSharpScript::_get_signal(GDMonoClass *p_class, GDMonoClass *p_delegate, Vector<Argument> &params) {
@@ -2137,9 +2134,7 @@ void CSharpScript::get_script_signal_list(List<MethodInfo> *r_signals) const {
}
void CSharpScript::update_signals() {
-#ifdef TOOLS_ENABLED
_update_signals();
-#endif
}
Ref<Script> CSharpScript::get_base_script() const {