File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ pub struct Game {
7777 chunk_builder : chunk_builder:: ChunkBuilder ,
7878
7979 connect_reply : Option < mpsc:: Receiver < Result < server:: Server , protocol:: Error > > > ,
80- protocol_version : i32 ,
8180
8281 dpi_factor : f64 ,
8382 last_mouse_x : f64 ,
@@ -100,7 +99,6 @@ impl Game {
10099 } ,
101100 } ;
102101
103- self . protocol_version = protocol_version;
104102 let ( tx, rx) = mpsc:: channel ( ) ;
105103 self . connect_reply = Some ( rx) ;
106104 let address = address. to_owned ( ) ;
@@ -267,7 +265,6 @@ pub fn main() {
267265 should_close : false ,
268266 chunk_builder : chunk_builder:: ChunkBuilder :: new ( resource_manager, textures) ,
269267 connect_reply : None ,
270- protocol_version : protocol:: SUPPORTED_PROTOCOLS [ 0 ] ,
271268 dpi_factor,
272269 last_mouse_x : 0.0 ,
273270 last_mouse_y : 0.0 ,
You can’t perform that action at this time.
0 commit comments