gameServer2/src/server/room.rs
changeset 13443 2501428303a2
parent 13428 c8425fbcf1d9
child 13477 f748a72432f2
--- a/gameServer2/src/server/room.rs	Wed Jul 04 15:42:42 2018 +0300
+++ b/gameServer2/src/server/room.rs	Wed Jul 04 18:49:51 2018 +0300
@@ -84,7 +84,7 @@
     pub teams_at_start: Vec<(ClientId, TeamInfo)>,
     pub left_teams: Vec<String>,
     pub msg_log: Vec<String>,
-    pub last_msg: Option<String>,
+    pub sync_msg: Option<String>,
     pub is_paused: bool,
     config: RoomConfig
 }
@@ -94,7 +94,7 @@
         GameInfo {
             left_teams: Vec::new(),
             msg_log: Vec::new(),
-            last_msg: None,
+            sync_msg: None,
             is_paused: false,
             teams_in_game: teams.len() as u8,
             teams_at_start: teams,