summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scene/main/node.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/main/node.cpp b/scene/main/node.cpp
index 8b5883a742..9d96c71113 100644
--- a/scene/main/node.cpp
+++ b/scene/main/node.cpp
@@ -1986,6 +1986,7 @@ Node *Node::_duplicate(int p_flags, Map<const Node *, Node *> *r_duplimap) const
#endif
node = res->instantiate(ges);
ERR_FAIL_COND_V(!node, nullptr);
+ node->set_scene_instance_load_placeholder(get_scene_instance_load_placeholder());
instantiated = true;