|
@ -34,7 +34,7 @@ pub async fn validate_login<EG: EntityGateway>(id: ClientId, |
|
|
shipgate_sender(ShipMessage::AddUser(user.id.clone()));
|
|
|
shipgate_sender(ShipMessage::AddUser(user.id.clone()));
|
|
|
}
|
|
|
}
|
|
|
clients.insert(id, ClientState::new(user, settings, character, pkt.session));
|
|
|
clients.insert(id, ClientState::new(user, settings, character, pkt.session));
|
|
|
vec![SendShipPacket::LoginResponse(response), SendShipPacket::ShipBlockList(ShipBlockList::new(&&ship_name, 3))]
|
|
|
|
|
|
|
|
|
vec![SendShipPacket::LoginResponse(response), SendShipPacket::ShipBlockList(ShipBlockList::new(&&ship_name, 1))]
|
|
|
},
|
|
|
},
|
|
|
Err(err) => {
|
|
|
Err(err) => {
|
|
|
vec![SendShipPacket::LoginResponse(LoginResponse::by_status(err, Session::new()))]
|
|
|
vec![SendShipPacket::LoginResponse(LoginResponse::by_status(err, Session::new()))]
|
|
|