summaryrefslogtreecommitdiffstats
path: root/modules/mono/csharp_script.cpp
diff options
context:
space:
mode:
authorMichele Valente <valentactive@gmail.com>2018-02-18 22:47:43 +0100
committerMichele Valente <valentactive@gmail.com>2018-02-22 21:23:47 +0100
commit3c7d9001bc9591368d743e9bd6cc29a74c7bddd5 (patch)
treea0e9f13c852f9e845f03cd8fcbb4d19634b3dcd2 /modules/mono/csharp_script.cpp
parentbe7bfdfac30b3772fde6058d470b81b480f03be7 (diff)
downloadredot-engine-3c7d9001bc9591368d743e9bd6cc29a74c7bddd5.tar.gz
fix release builds with mono
"_signals" and "signals_invalidated" were moved out of the "TOOLS_ENABLED" directive. Updated also the two "update_signals" and "_update_signals" methods so it makes sense.
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 fb45136575..cabfe567fc 100644
--- a/modules/mono/csharp_script.cpp
+++ b/modules/mono/csharp_script.cpp
@@ -1550,7 +1550,6 @@ bool CSharpScript::_update_exports() {
}
bool CSharpScript::_update_signals() {
-#ifdef TOOLS_ENABLED
if (!valid)
return false;
@@ -1581,8 +1580,6 @@ bool CSharpScript::_update_signals() {
}
return changed;
-#endif
- return false;
}
bool CSharpScript::_get_signal(GDMonoClass *p_class, GDMonoClass *p_delegate, Vector<Argument> &params) {
@@ -2135,9 +2132,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 {