Skip to content

Commit

Permalink
Preserve duplicate signal flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaosus committed Nov 21, 2017
1 parent c846e49 commit fc74dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/main/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2305,7 +2305,7 @@ void Node::_duplicate_signals(const Node *p_original, Node *p_copy) const {
copytarget = target;

if (copy && copytarget) {
copy->connect(E->get().signal, copytarget, E->get().method, E->get().binds, CONNECT_PERSIST);
copy->connect(E->get().signal, copytarget, E->get().method, E->get().binds, E->get().flags);
}
}
}
Expand Down

0 comments on commit fc74dba

Please sign in to comment.