summaryrefslogtreecommitdiff
path: root/core/multiplayer/multiplayer_replicator.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-10-12 14:57:53 +0200
committerGitHub <noreply@github.com>2021-10-12 14:57:53 +0200
commitd5409e32f191e455f3e1a97189c1c553f3aebcfa (patch)
tree41b1e4c27ebfdacc9c81318f52bb0099ff3c4605 /core/multiplayer/multiplayer_replicator.cpp
parentb67e68bce33ff6ee79b9f36d079f81464c12a9e0 (diff)
parent74b46bb220c4de6e8c8a41cb907b1d58b7e9bcb4 (diff)
Merge pull request #53711 from Faless/mp/4.x_fix_custom_despwn
Diffstat (limited to 'core/multiplayer/multiplayer_replicator.cpp')
-rw-r--r--core/multiplayer/multiplayer_replicator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/multiplayer/multiplayer_replicator.cpp b/core/multiplayer/multiplayer_replicator.cpp
index a4ea74327c..6604510394 100644
--- a/core/multiplayer/multiplayer_replicator.cpp
+++ b/core/multiplayer/multiplayer_replicator.cpp
@@ -572,7 +572,7 @@ Error MultiplayerReplicator::_spawn_despawn(ResourceUID::ID p_scene_id, Object *
args[0] = p_peer;
args[1] = p_scene_id;
args[2] = p_obj;
- args[3] = true;
+ args[3] = p_spawn;
const Variant *argp[] = { &args[0], &args[1], &args[2], &args[3] };
Callable::CallError ce;
Variant ret;