gameServer2/src/protocol/messages.rs
changeset 13520 1ee192f13456
parent 13481 8697b235f236
child 13524 5359ff75da3a
--- a/gameServer2/src/protocol/messages.rs	Thu Jul 12 14:46:16 2018 +0200
+++ b/gameServer2/src/protocol/messages.rs	Fri Jul 13 19:52:19 2018 +0300
@@ -18,7 +18,7 @@
     Info(String),
     // not entered state
     Nick(String),
-    Proto(u32),
+    Proto(u16),
     Password(String, String),
     Checker(u32, String, String),
     // lobby
@@ -76,7 +76,7 @@
     Pong,
     Bye(String),
     Nick(String),
-    Proto(u32),
+    Proto(u16),
     LobbyLeft(String, String),
     LobbyJoined(Vec<String>),
     ChatMsg {nick: String, msg: String},