From 4df6fa44663eeee867147093352508af4eebd710 Mon Sep 17 00:00:00 2001 From: jake Date: Sat, 23 Nov 2019 23:23:03 -0800 Subject: [PATCH] hahah how did I put this in the wrong struct --- src/ship/ship.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ship/ship.rs b/src/ship/ship.rs index a02cb83..3cf36d9 100644 --- a/src/ship/ship.rs +++ b/src/ship/ship.rs @@ -75,7 +75,6 @@ struct ClientState { character: Character, session: Session, block: u32, - client_location: ClientLocation, } impl ClientState { @@ -86,7 +85,6 @@ impl ClientState { character: Character::default(), session: Session::new(), block: 0, - client_location: ClientLocation::new(), } } } @@ -95,6 +93,7 @@ impl ClientState { pub struct ShipServerState { entity_gateway: EG, clients: HashMap + client_location: ClientLocation, } impl ShipServerState { @@ -102,6 +101,7 @@ impl ShipServerState { ShipServerState { entity_gateway: entity_gateway, clients: HashMap::new(), + client_location: ClientLocation::new(), } }