diff options
author | Rafał Mikrut <mikrutrafal54@gmail.com> | 2019-12-10 05:13:02 +0100 |
---|---|---|
committer | Rafał Mikrut <mikrutrafal54@gmail.com> | 2019-12-10 05:13:02 +0100 |
commit | ed1c4bc77db88fa0f8f599ca2d3c4b533a94a654 (patch) | |
tree | 45e5f3b02b6f9c62116ba7fb513c87fa1f26a001 /modules/visual_script | |
parent | 6f38aeef5255d1fdeb99d727a0f67b9be6ccdf36 (diff) |
Removed unused variables, add some constants numbers
Diffstat (limited to 'modules/visual_script')
-rw-r--r-- | modules/visual_script/visual_script_nodes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/visual_script/visual_script_nodes.cpp b/modules/visual_script/visual_script_nodes.cpp index 857d640b43..2a8d67d403 100644 --- a/modules/visual_script/visual_script_nodes.cpp +++ b/modules/visual_script/visual_script_nodes.cpp @@ -1290,7 +1290,7 @@ public: if (!instance->get_variable(variable, p_outputs[0])) { r_error.error = Variant::CallError::CALL_ERROR_INVALID_METHOD; r_error_str = RTR("VariableGet not found in script: ") + "'" + String(variable) + "'"; - return false; + return 0; } return 0; } |