1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Removed unused variables, add some constants numbers

This commit is contained in:
Rafał Mikrut
2019-12-10 05:13:02 +01:00
parent 6f38aeef52
commit ed1c4bc77d
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;
}