--- a/rust/hedgewars-server/src/protocol/parser.rs Wed Apr 10 19:30:08 2019 +0300
+++ b/rust/hedgewars-server/src/protocol/parser.rs Wed Apr 10 23:56:53 2019 +0300
@@ -272,7 +272,7 @@
|i| cmdc_single_arg(i, "SAVEROOM", a_line, SaveRoom),
|i| cmdc_single_arg(i, "LOADROOM", a_line, LoadRoom),
|i| cmdc_single_arg(i, "GLOBAL", a_line, Global),
- |i| cmdc_single_arg(i, "WATCH", a_line, Watch),
+ |i| cmdc_single_arg(i, "WATCH", u32_line, Watch),
|i| cmdc_single_arg(i, "GREETING", a_line, Greeting),
|i| cmdc_single_arg(i, "VOTE", yes_no_line, Vote),
|i| cmdc_single_arg(i, "FORCE", yes_no_line, ForceVote),
@@ -455,6 +455,7 @@
Ok((
i,
AddTeam(Box::new(TeamInfo {
+ owner: String::new(),
name,
color,
grave,