From e16bb66fb3fb05324ceb6fda6f0aac8403237bd9 Mon Sep 17 00:00:00 2001 From: Pfauenauge90 <44173739+Pfauenauge90@users.noreply.github.com> Date: Thu, 19 Mar 2020 18:19:05 +0100 Subject: [PATCH] fix --- voxygen/Cargo.toml | 4 ++-- voxygen/src/hud/bag.rs | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/voxygen/Cargo.toml b/voxygen/Cargo.toml index 5f77c47231..0dfa722f6e 100644 --- a/voxygen/Cargo.toml +++ b/voxygen/Cargo.toml @@ -11,7 +11,7 @@ default-run = "veloren-voxygen" [features] gl = ["gfx_device_gl"] singleplayer = ["server"] -tweak = ["const_tweaker"] +tweak = ["const-tweaker"] default = ["gl", "singleplayer", "msgbox"] @@ -68,7 +68,7 @@ bincode = "1.2" deunicode = "1.0" uvth = "3.1.1" authc = { git = "https://gitlab.com/veloren/auth.git", rev = "65571ade0d954a0e0bd995fdb314854ff146ab97" } -const_tweaker = { version = "0.2.1", optional = true } +const-tweaker = { version = "0.2.1", optional = true } [target.'cfg(target_os = "macos")'.dependencies] dispatch = "0.1.4" diff --git a/voxygen/src/hud/bag.rs b/voxygen/src/hud/bag.rs index d6b55fd31a..d9ae386a48 100644 --- a/voxygen/src/hud/bag.rs +++ b/voxygen/src/hud/bag.rs @@ -165,11 +165,6 @@ impl<'a> Widget for Bag<'a> { fn style(&self) -> Self::Style { () } - /*fn const_tweaker() { - // Initialize the web GUI at 'http://127.0.0.1:9938' - const_tweaker::run().expect("Could not run server"); - }*/ - fn update(self, args: widget::UpdateArgs) -> Self::Event { let widget::UpdateArgs { state, ui, .. } = args;