From 95fb1dbc86d70b765d4c3a1f0f84389b8767834c Mon Sep 17 00:00:00 2001 From: jake Date: Wed, 20 Nov 2019 22:49:13 -0800 Subject: [PATCH] remove debug print --- src/entity/character.rs | 2 +- src/main.rs | 1 + src/ship/ship.rs | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/entity/character.rs b/src/entity/character.rs index 42c16f0..1596bd4 100644 --- a/src/entity/character.rs +++ b/src/entity/character.rs @@ -6,4 +6,4 @@ pub struct Character { pub user_id: u32, pub slot: u32, pub character: character::Character, -} \ No newline at end of file +} diff --git a/src/main.rs b/src/main.rs index 613b570..2518292 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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(); diff --git a/src/ship/ship.rs b/src/ship/ship.rs index f967617..0ae1eb3 100644 --- a/src/ship/ship.rs +++ b/src/ship/ship.rs @@ -108,7 +108,6 @@ impl ShipServerState { 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)