This commit is contained in:
Pfauenauge90 2020-03-19 18:19:05 +01:00
parent b9b2833e97
commit e16bb66fb3
2 changed files with 2 additions and 7 deletions

View File

@ -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"

View File

@ -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>) -> Self::Event {
let widget::UpdateArgs { state, ui, .. } = args;