player count 6

This commit is contained in:
Aubrey 2025-01-06 13:56:39 -06:00
parent 790a794b84
commit 459f7de9d8
No known key found for this signature in database

View file

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