From d2238bbff0e5745a50104478a1676b9138239693 Mon Sep 17 00:00:00 2001 From: jake Date: Mon, 4 Nov 2019 21:11:28 -0800 Subject: [PATCH] fix use statements --- src/login/character.rs | 2 +- src/main.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/login/character.rs b/src/login/character.rs index ad5ddcf..24b3fa8 100644 --- a/src/login/character.rs +++ b/src/login/character.rs @@ -10,7 +10,7 @@ use libpso::crypto::bb::PSOBBCipher; use crate::common::cipherkeys::{ELSEWHERE_PRIVATE_KEY, ELSEWHERE_PARRAY}; use crate::common::serverstate::{SendServerPacket, RecvServerPacket, ServerState, OnConnect, ClientId}; -use crate::{utf8_to_array, utf8_to_utf16_array}; +use libpso::{utf8_to_array, utf8_to_utf16_array}; use crate::entity::gateway::EntityGateway; use crate::entity::account::{UserAccount, USERFLAG_NEWCHAR, USERFLAG_DRESSINGROOM}; diff --git a/src/main.rs b/src/main.rs index fd738e2..613b570 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,6 +16,7 @@ use login::character::CharacterServerState; use ship::ship::ShipServerState; use entity::account::{UserAccount, UserSettings}; use entity::gateway::{EntityGateway, InMemoryGateway}; +use libpso::{utf8_to_array, utf8_to_utf16_array}; //use crate::utf8_to_utf16_array; fn main() {