gameServer2/src/server/room.rs
changeset 13671 09f4a30e50cc
parent 13534 662f7df89d06
child 13800 e335daaa77a9
--- a/gameServer2/src/server/room.rs	Tue Aug 14 15:25:05 2018 +0200
+++ b/gameServer2/src/server/room.rs	Thu Aug 16 19:33:03 2018 +0300
@@ -1,7 +1,7 @@
 use std::{
     iter, collections::HashMap
 };
-use server::{
+use crate::server::{
     coretypes::{ClientId, RoomId, TeamInfo, GameCfg, GameCfg::*, Voting},
     client::{HWClient}
 };
@@ -71,7 +71,7 @@
 }
 
 fn game_config_from(c: &RoomConfig) -> Vec<GameCfg> {
-    use server::coretypes::GameCfg::*;
+    use crate::server::coretypes::GameCfg::*;
     let mut v = vec![
         Ammo(c.ammo.name.to_string(), c.ammo.settings.clone()),
         Scheme(c.scheme.name.to_string(), c.scheme.settings.clone()),