Preserve duplicate signal flags

This commit is contained in:
Chaosus 2017-11-21 11:46:19 +03:00
parent c846e49a7d
commit fc74dbabd5

View file

@ -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);
}
}
}