Merge pull request #53763 from Ev1lbl0w/bugfix-visual_script_crash
This commit is contained in:
commit
2b5d89e635
1 changed files with 1 additions and 0 deletions
|
@ -2232,6 +2232,7 @@ Variant VisualScriptFunctionState::_signal_callback(const Variant **p_args, int
|
|||
}
|
||||
|
||||
void VisualScriptFunctionState::connect_to_signal(Object *p_obj, const String &p_signal, Array p_binds) {
|
||||
ERR_FAIL_NULL(p_obj);
|
||||
Vector<Variant> binds;
|
||||
for (int i = 0; i < p_binds.size(); i++) {
|
||||
binds.push_back(p_binds[i]);
|
||||
|
|
Loading…
Reference in a new issue