|
|
@ -340,7 +340,7 @@ impl<EG: EntityGateway> ServerState for CharacterServerState<EG> { |
|
|
|
-> Result<Box<dyn Iterator<Item = (ClientId, SendCharacterPacket)>>, 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 {
|
|
|
|