From 995cf981c56109a467effeab11085c1229b3dd76 Mon Sep 17 00:00:00 2001 From: ice_iix Date: Thu, 18 Feb 2021 17:40:45 -0800 Subject: [PATCH] main: remove console chat activation, updates #479 --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index 76069b7..a763253 100644 --- a/src/main.rs +++ b/src/main.rs @@ -559,12 +559,14 @@ fn tick_all( game.screen_sys .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 Instant::now().duration_since(received_chat_at).as_secs() < 5 { game.console.lock().unwrap().activate() // TODO: automatically deactivate the console after inactivity } } + */ game.console .lock() .unwrap()