diff --git a/src/login/character.rs b/src/login/character.rs index 74f6f0b..f75883e 100644 --- a/src/login/character.rs +++ b/src/login/character.rs @@ -340,7 +340,7 @@ impl ServerState for CharacterServerState { -> Result>, CharacterError> { Ok(match pkt { RecvCharacterPacket::Login(login) => { - if login.security_data[0..4] == [1,3,3,7] { + if login.security_data[8..12] == [1,3,3,7] { Box::new(self.send_ship_list(id, login)?.into_iter().map(move |pkt| (id, pkt))) } else {