From de199c4d805918d1a41d13cd2d556c6570b90372 Mon Sep 17 00:00:00 2001 From: andy Date: Thu, 2 Jan 2020 23:25:33 -0400 Subject: [PATCH] remove manual padding. handled in libpso now --- src/ship/ship.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ship/ship.rs b/src/ship/ship.rs index 59231e6..847ba34 100644 --- a/src/ship/ship.rs +++ b/src/ship/ship.rs @@ -318,7 +318,7 @@ impl ShipServerState { fn player_chat(&mut self, id: ClientId, msg: &PlayerChat) -> Result>, ShipError> { let client = self.clients.get_mut(&id).ok_or(ShipError::ClientNotFound(id))?; - let cmsg = PlayerChat::new(0x00010000, client.user.guildcard.unwrap(), msg.message.clone()); + let cmsg = PlayerChat::new(client.user.guildcard.unwrap(), msg.message.clone()); Ok(Box::new(self.client_location.get_area_by_user(id).clients().iter() .map(move |client| {