gameServer2/src/server/room.rs
changeset 13433 c8425fbcf1d9
parent 13432 6f6a866c86a2
child 13448 2501428303a2
--- a/gameServer2/src/server/room.rs	Wed Jun 27 23:26:29 2018 +0300
+++ b/gameServer2/src/server/room.rs	Wed Jun 27 23:51:00 2018 +0300
@@ -83,7 +83,7 @@
     pub teams_in_game: u8,
     pub teams_at_start: Vec<(ClientId, TeamInfo)>,
     pub left_teams: Vec<String>,
-    pub msg_log: String,
+    pub msg_log: Vec<String>,
     pub last_msg: Option<String>,
     pub is_paused: bool,
     config: RoomConfig
@@ -93,7 +93,7 @@
     fn new(teams: Vec<(ClientId, TeamInfo)>, config: RoomConfig) -> GameInfo {
         GameInfo {
             left_teams: Vec::new(),
-            msg_log: String::new(),
+            msg_log: Vec::new(),
             last_msg: None,
             is_paused: false,
             teams_in_game: teams.len() as u8,