summaryrefslogtreecommitdiff
path: root/scene/multiplayer/scene_replication_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/multiplayer/scene_replication_interface.h')
-rw-r--r--scene/multiplayer/scene_replication_interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/multiplayer/scene_replication_interface.h b/scene/multiplayer/scene_replication_interface.h
index 855878d029..60ac95c93c 100644
--- a/scene/multiplayer/scene_replication_interface.h
+++ b/scene/multiplayer/scene_replication_interface.h
@@ -47,7 +47,7 @@ private:
void _free_remotes(int p_peer);
Ref<SceneReplicationState> rep_state;
- MultiplayerAPI *multiplayer;
+ MultiplayerAPI *multiplayer = nullptr;
PackedByteArray packet_cache;
int sync_mtu = 1350; // Highly dependent on underlying protocol.