gameServer2/src/server/client.rs
changeset 13447 f748a72432f2
parent 13423 87a6cad20c90
child 13450 d79795acaa73
--- a/gameServer2/src/server/client.rs	Fri Jul 06 17:16:01 2018 +0200
+++ b/gameServer2/src/server/client.rs	Fri Jul 06 21:03:03 2018 +0300
@@ -5,6 +5,7 @@
     pub room_id: Option<usize>,
     pub nick: String,
     pub protocol_number: u32,
+    pub is_admin: bool,
     pub is_master: bool,
     pub is_ready: bool,
     pub is_in_game: bool,
@@ -21,6 +22,7 @@
             room_id: None,
             nick: String::new(),
             protocol_number: 0,
+            is_admin: false,
             is_master: false,
             is_ready: false,
             is_in_game: false,