|
@ -108,7 +108,6 @@ impl<EG: EntityGateway> ShipServerState<EG> { |
|
|
response.guildcard = user.guildcard.map_or(24, |gc| gc) as u32;
|
|
|
response.guildcard = user.guildcard.map_or(24, |gc| gc) as u32;
|
|
|
response.team_id = user.team_id.map_or(31, |ti| ti) as u32;
|
|
|
response.team_id = user.team_id.map_or(31, |ti| ti) as u32;
|
|
|
client.session = pkt.session;
|
|
|
client.session = pkt.session;
|
|
|
println!("SESSION {:?}", client.session);
|
|
|
|
|
|
let characters = self.entity_gateway.get_characters_by_user(&user);
|
|
|
let characters = self.entity_gateway.get_characters_by_user(&user);
|
|
|
client.character = characters
|
|
|
client.character = characters
|
|
|
.get(pkt.session.character_slot as usize)
|
|
|
.get(pkt.session.character_slot as usize)
|
|
|