You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +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:
@@ -259,7 +259,7 @@ void JavaScriptObjectImpl::_callback(void *p_ref, int p_args_id, int p_argc) {
|
||||
const Variant *argv[1] = { &arg };
|
||||
Callable::CallError err;
|
||||
Variant ret;
|
||||
obj->_callable.call(argv, 1, ret, err);
|
||||
obj->_callable.callp(argv, 1, ret, err);
|
||||
|
||||
// Set return value
|
||||
godot_js_wrapper_ex exchange;
|
||||
|
||||
Reference in New Issue
Block a user