From 459f7de9d8d9251260cdff2f8214dc9ba9ff4258 Mon Sep 17 00:00:00 2001 From: Aubrey Taylor Date: Mon, 6 Jan 2025 13:56:39 -0600 Subject: [PATCH] player count 6 --- src/player.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/player.rs b/src/player.rs index 3812173..9dbac16 100644 --- a/src/player.rs +++ b/src/player.rs @@ -99,7 +99,7 @@ impl PlayerActor { return; }; - write_packet(&mut writer, user_id, PacketData::Init(Init { max_players: 10 })) + write_packet(&mut writer, user_id, PacketData::Init(Init { max_players: 6 })) .await .expect("msfrarausfhsdagsdgkog"); @@ -213,7 +213,7 @@ impl Actor for PlayerActor { udp: false, data: PacketData::Connect(Connect { kind: self.connection_kind, - max_player: 10, + max_player: 6, client_name: self.name, }), }) @@ -226,7 +226,7 @@ impl Actor for PlayerActor { udp: false, data: PacketData::Connect(Connect { kind: self.connection_kind, - max_player: 10, + max_player: 6, client_name: name, }), }));