main: remove console chat activation, updates #479
This commit is contained in:
parent
7dcbac2a5d
commit
995cf981c5
|
@ -559,12 +559,14 @@ fn tick_all(
|
||||||
|
|
||||||
game.screen_sys
|
game.screen_sys
|
||||||
.tick(delta, &mut game.renderer, &mut ui_container);
|
.tick(delta, &mut game.renderer, &mut ui_container);
|
||||||
|
/* TODO: open console for chat messages
|
||||||
if let Some(received_chat_at) = game.server.received_chat_at {
|
if let Some(received_chat_at) = game.server.received_chat_at {
|
||||||
if Instant::now().duration_since(received_chat_at).as_secs() < 5 {
|
if Instant::now().duration_since(received_chat_at).as_secs() < 5 {
|
||||||
game.console.lock().unwrap().activate()
|
game.console.lock().unwrap().activate()
|
||||||
// TODO: automatically deactivate the console after inactivity
|
// TODO: automatically deactivate the console after inactivity
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
game.console
|
game.console
|
||||||
.lock()
|
.lock()
|
||||||
.unwrap()
|
.unwrap()
|
||||||
|
|
Loading…
Reference in New Issue