summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-11-21 14:25:50 +0100
committerGitHub <noreply@github.com>2017-11-21 14:25:50 +0100
commit25b860ee2ac60fcc1bc58e9d82672c2549ce07ca (patch)
tree77faba089c3d2904e14b7531cb67d5df8851a732
parent6c9ee1f125dc45625eb32d08e623857058cf30ad (diff)
parentfc74dbabd54ae36a24641a95734adb2e3df47162 (diff)
Merge pull request #13132 from Chaosus/preserve_dupsignals_flags
Preserve duplicate signal flags
-rwxr-xr-xscene/main/node.cpp2
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);
}
}
}