From 4a65cddd15df2c988a45b6208c10c03d6953a038 Mon Sep 17 00:00:00 2001 From: timokoesters Date: Sat, 19 Oct 2019 09:18:35 +0200 Subject: [PATCH] improvement: remove `wait` because it now always retries --- voxygen/src/menu/main/client_init.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/voxygen/src/menu/main/client_init.rs b/voxygen/src/menu/main/client_init.rs index 91d7baf8ed..7714543529 100644 --- a/voxygen/src/menu/main/client_init.rs +++ b/voxygen/src/menu/main/client_init.rs @@ -33,7 +33,6 @@ impl ClientInit { connection_args: (String, u16, bool), player: comp::Player, password: String, - wait: bool, ) -> Self { let (server_address, default_port, prefer_ipv6) = connection_args; @@ -42,11 +41,6 @@ impl ClientInit { let cancel2 = Arc::clone(&cancel); thread::spawn(move || { - // Sleep the thread to wait for the single-player server to start up. - if wait { - info!("Waiting for server to come up..."); - thread::sleep(Duration::from_millis(500)); - } // Parse ip address or resolves hostname. // Note: if you use an ipv6 address, the number after the last colon will be used // as the port unless you use [] around the address.