diff --git a/src/game/client/components/console.cpp b/src/game/client/components/console.cpp index 71653fdf5..ab0c9aaef 100644 --- a/src/game/client/components/console.cpp +++ b/src/game/client/components/console.cpp @@ -327,9 +327,15 @@ void CONSOLE::toggle(int type) } if (console_state == CONSOLE_CLOSED || console_state == CONSOLE_CLOSING) + { + inp_mouse_mode_absolute(); console_state = CONSOLE_OPENING; + } else + { + inp_mouse_mode_relative(); console_state = CONSOLE_CLOSING; + } } console_type = type;