diff options
author | Chaosus <chaosus89@gmail.com> | 2017-11-21 11:46:19 +0300 |
---|---|---|
committer | Chaosus <chaosus89@gmail.com> | 2017-11-21 11:46:19 +0300 |
commit | fc74dbabd54ae36a24641a95734adb2e3df47162 (patch) | |
tree | 772734bb863dfeaac0cd86a66c9f48160632c49d /scene/main | |
parent | c846e49a7d3439d9aef5d499ad403304d89a3b3c (diff) |
Preserve duplicate signal flags
Diffstat (limited to 'scene/main')
-rwxr-xr-x | scene/main/node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/node.cpp b/scene/main/node.cpp index 253084dd99..01e11962ff 100755 --- a/scene/main/node.cpp +++ b/scene/main/node.cpp @@ -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); } } } |