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, }), }));