gameServer2/src/protocol/parser.rs
changeset 13423 87a6cad20c90
parent 13422 5fb27f94fc3b
child 13431 6a818f9192f4
--- a/gameServer2/src/protocol/parser.rs	Tue Jun 26 23:22:38 2018 +0300
+++ b/gameServer2/src/protocol/parser.rs	Wed Jun 27 02:34:46 2018 +0300
@@ -36,7 +36,7 @@
     | do_parse!(tag!("GET_SERVER_VAR") >> (GetServerVar))
     | do_parse!(tag!("TOGGLE_READY")   >> (ToggleReady))
     | do_parse!(tag!("START_GAME")     >> (StartGame))
-    | do_parse!(tag!("ROUNDFINISHED")  >> (RoundFinished))
+    | do_parse!(tag!("ROUNDFINISHED")  >> m: opt_param >> (RoundFinished))
     | do_parse!(tag!("TOGGLE_RESTRICT_JOINS")  >> (ToggleRestrictJoin))
     | do_parse!(tag!("TOGGLE_RESTRICT_TEAMS")  >> (ToggleRestrictTeams))
     | do_parse!(tag!("TOGGLE_REGISTERED_ONLY") >> (ToggleRegisteredOnly))