summaryrefslogtreecommitdiff
path: root/scene/multiplayer/multiplayer_synchronizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/multiplayer/multiplayer_synchronizer.h')
-rw-r--r--scene/multiplayer/multiplayer_synchronizer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/multiplayer/multiplayer_synchronizer.h b/scene/multiplayer/multiplayer_synchronizer.h
index e856745379..f61ef459da 100644
--- a/scene/multiplayer/multiplayer_synchronizer.h
+++ b/scene/multiplayer/multiplayer_synchronizer.h
@@ -40,7 +40,7 @@ class MultiplayerSynchronizer : public Node {
private:
Ref<SceneReplicationConfig> replication_config;
- NodePath root_path;
+ NodePath root_path = NodePath(".."); // Start with parent, like with AnimationPlayer.
uint64_t interval_msec = 0;
static Object *_get_prop_target(Object *p_obj, const NodePath &p_prop);