Merge pull request #34040 from qarmin/unused_variable_more_precise_numbers

Removed unused variables, add some constants numbers
This commit is contained in:
Rémi Verschelde
2019-12-10 08:25:31 +01:00
committed by GitHub
41 changed files with 112 additions and 91 deletions

View File

@@ -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;
}