From 14a108128a1db142a84e6c7d0e9cd78c247cbd05 Mon Sep 17 00:00:00 2001 From: tecnessino <73133130+tecnessino@users.noreply.github.com> Date: Sun, 30 Jun 2024 14:51:38 +0200 Subject: [PATCH] Use `NetworkDriver = new ENetDriver()` in `network-client-server.md` --- manual/networking/tutorials/network-client-server.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manual/networking/tutorials/network-client-server.md b/manual/networking/tutorials/network-client-server.md index 9ac86b02..ff6f900e 100644 --- a/manual/networking/tutorials/network-client-server.md +++ b/manual/networking/tutorials/network-client-server.md @@ -22,7 +22,7 @@ public class ServerScript : Script { _server = NetworkPeer.CreatePeer(new NetworkConfig { - NetworkDriverType = NetworkDriverType.ENet, + NetworkDriver = new ENetDriver(), ConnectionsLimit = 8, MessagePoolSize = 1024, MessageSize = 1400, @@ -67,7 +67,7 @@ public class ClientScript : Script { _client = NetworkPeer.CreatePeer(new NetworkConfig { - NetworkDriverType = NetworkDriverType.ENet, + NetworkDriver = new ENetDriver(), ConnectionsLimit = 32, MessagePoolSize = 256, MessageSize = 1400,