mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 18:54:43 +00:00
Remove Signal connect binds
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
This commit is contained in:
parent
14d021287b
commit
d4433ae6d3
149 changed files with 645 additions and 708 deletions
|
|
@ -138,7 +138,7 @@ bool MultiplayerSynchronizer::is_visible_to(int p_peer) {
|
|||
for (Callable filter : visibility_filters) {
|
||||
Variant ret;
|
||||
Callable::CallError err;
|
||||
filter.call(argv, 1, ret, err);
|
||||
filter.callp(argv, 1, ret, err);
|
||||
ERR_FAIL_COND_V(err.error != Callable::CallError::CALL_OK || ret.get_type() != Variant::BOOL, false);
|
||||
if (!ret.operator bool()) {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue