--- a/gameServer2/src/protocol/messages.rs Wed Jun 27 23:26:29 2018 +0300
+++ b/gameServer2/src/protocol/messages.rs Wed Jun 27 23:51:00 2018 +0300
@@ -93,7 +93,7 @@
HedgehogsNumber(String, u8),
ConfigEntry(String, Vec<String>),
RunGame,
- ForwardEngineMessage(String),
+ ForwardEngineMessage(Vec<String>),
RoundFinished,
ServerMessage(String),
@@ -263,7 +263,8 @@
ConfigEntry(name, values) =>
construct_message(&["CFG", name], &values),
RunGame => msg!["RUN_GAME"],
- ForwardEngineMessage(em) => msg!["EM", em],
+ ForwardEngineMessage(em) =>
+ construct_message(&["EM"], &em),
RoundFinished => msg!["ROUND_FINISHED"],
ChatMsg(nick, msg) => msg!["CHAT", nick, msg],
ServerMessage(msg) => msg!["SERVER_MESSAGE", msg],