diff options
| author | qarmin <mikrutrafal54@gmail.com> | 2019-06-26 15:08:25 +0200 |
|---|---|---|
| committer | qarmin <mikrutrafal54@gmail.com> | 2019-06-26 15:08:25 +0200 |
| commit | 4e5310cc60dc17e5ef09e57115ca8236544679e4 (patch) | |
| tree | 894c5070a709198ed994db7c7d0c0e124abbc9e5 /modules/mono/csharp_script.cpp | |
| parent | 5c66771e3ebccdfec55bb94ea521d2f24cb6200a (diff) | |
| download | redot-engine-4e5310cc60dc17e5ef09e57115ca8236544679e4.tar.gz | |
Some code changed with Clang-Tidy
Diffstat (limited to 'modules/mono/csharp_script.cpp')
| -rw-r--r-- | modules/mono/csharp_script.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index 72199281ff..20b227bda1 100644 --- a/modules/mono/csharp_script.cpp +++ b/modules/mono/csharp_script.cpp @@ -2898,10 +2898,7 @@ void CSharpScript::update_exports() { } bool CSharpScript::has_script_signal(const StringName &p_signal) const { - if (_signals.has(p_signal)) - return true; - - return false; + return _signals.has(p_signal); } void CSharpScript::get_script_signal_list(List<MethodInfo> *r_signals) const { |
