remove debug print
This commit is contained in:
parent
6d57d5d6fa
commit
95fb1dbc86
@ -6,4 +6,4 @@ pub struct Character {
|
||||
pub user_id: u32,
|
||||
pub slot: u32,
|
||||
pub character: character::Character,
|
||||
}
|
||||
}
|
||||
|
@ -19,6 +19,7 @@ use entity::gateway::{EntityGateway, InMemoryGateway};
|
||||
use libpso::{utf8_to_array, utf8_to_utf16_array};
|
||||
//use crate::utf8_to_utf16_array;
|
||||
|
||||
|
||||
fn main() {
|
||||
let mut entity_gateway = InMemoryGateway::new();
|
||||
|
||||
|
@ -108,7 +108,6 @@ impl<EG: EntityGateway> ShipServerState<EG> {
|
||||
response.guildcard = user.guildcard.map_or(24, |gc| gc) as u32;
|
||||
response.team_id = user.team_id.map_or(31, |ti| ti) as u32;
|
||||
client.session = pkt.session;
|
||||
println!("SESSION {:?}", client.session);
|
||||
let characters = self.entity_gateway.get_characters_by_user(&user);
|
||||
client.character = characters
|
||||
.get(pkt.session.character_slot as usize)
|
||||
|
Loading…
x
Reference in New Issue
Block a user