diff --git a/src/client/component/game_console.cpp b/src/client/component/game_console.cpp index 91684ee2..3078cb8c 100644 --- a/src/client/component/game_console.cpp +++ b/src/client/component/game_console.cpp @@ -272,7 +272,7 @@ namespace game_console draw_hint_text(0, utils::string::va("%i matches (too many to show here). Press SHIFT + TAB to show more", matches.size()), dvars::con_inputDvarMatchColor->current.vector); - if (game::playerKeys[0].keys[game::keyNum_t::K_SHIFT].down && game::playerKeys[0].keys[game::keyNum_t::K_TAB].down) + if (GetAsyncKeyState(VK_SHIFT) && GetAsyncKeyState(VK_TAB) & 1) { console::info("]%s\n", con.buffer); for (size_t i = 0; i < matches.size(); i++)