Browse Source

actually fix it

pbs
jake 5 years ago
parent
commit
6d74958de9
  1. 4
      src/login/character.rs

4
src/login/character.rs

@ -428,8 +428,8 @@ impl<EG: EntityGateway> ServerState for CharacterServerState<EG> {
client.security_data[5] = 1; client.security_data[5] = 1;
user.flags = 0; user.flags = 0;
self.entity_gateway.set_user(&user); self.entity_gateway.set_user(&user);
Box::new(vec![SendCharacterPacket::LoginResponse(LoginResponse::by_char_select(user.guildcard.unwrap_or(1),
user.team_id.unwrap_or(0),
Box::new(vec![SendCharacterPacket::LoginResponse(LoginResponse::by_char_select(user.guildcard.unwrap_or(0),
user.team_id.unwrap_or(1),
client.security_data)), client.security_data)),
SendCharacterPacket::CharAck(CharAck { SendCharacterPacket::CharAck(CharAck {
flag: 0, flag: 0,

Loading…
Cancel
Save