From 4bb1df318905f491740f4298c69cda317fb53fcb Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 31 May 2009 09:44:20 +0000 Subject: moved 0.5 branch to trunk --- src/game/client/components/console.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/game/client/components/console.cpp') diff --git a/src/game/client/components/console.cpp b/src/game/client/components/console.cpp index c1493fb8..53d5637e 100644 --- a/src/game/client/components/console.cpp +++ b/src/game/client/components/console.cpp @@ -276,8 +276,11 @@ void CONSOLE::on_render() progress = 1.0f; } - - if (console_state == CONSOLE_CLOSED || config.cl_editor) + + if (console_state == CONSOLE_OPEN && config.cl_editor) + toggle(0); + + if (console_state == CONSOLE_CLOSED) return; if (console_state == CONSOLE_OPEN) -- cgit 1.4.1