remove debug print

This commit is contained in:
jake 2019-11-20 22:49:13 -08:00
parent 6d57d5d6fa
commit 95fb1dbc86
3 changed files with 2 additions and 2 deletions

View File

@ -6,4 +6,4 @@ pub struct Character {
pub user_id: u32,
pub slot: u32,
pub character: character::Character,
}
}

View File

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

View File

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