Fix console

This commit is contained in:
Federico Cecchetto 2022-05-19 17:37:16 +02:00
parent fe1110a580
commit 3bf9174636

View File

@ -587,11 +587,12 @@ namespace game_console
} }
const auto shift_down = game::playerKeys[local_client_num].keys[game::keyNum_t::K_SHIFT].down; const auto shift_down = game::playerKeys[local_client_num].keys[game::keyNum_t::K_SHIFT].down;
console::info("shift down? %d", shift_down);
if (shift_down) if (shift_down)
{ {
if (!(*game::keyCatchers & 1)) if (!(*game::keyCatchers & 1))
{
toggle_console(); toggle_console();
}
toggle_console_output(); toggle_console_output();
return false; return false;