Browse Source

only 1 block actually exists

pbs
jake 4 years ago
parent
commit
5ca852260f
  1. 2
      src/ship/packet/handler/auth.rs

2
src/ship/packet/handler/auth.rs

@ -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()))]

Loading…
Cancel
Save