mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 14:41:42 +00:00
* (bug 2758) Toggling the console while holding keys can put the cgame/ui
keycatchers in a bad place since they see a key press for a key that is already in a down state. Simply clearing the down state of all keys as the console is toggled seems like a simple fix.
This commit is contained in:
parent
fe3e8ba879
commit
8b1b3464d7
1 changed files with 2 additions and 1 deletions
|
@ -1070,7 +1070,8 @@ void CL_KeyEvent (int key, qboolean down, unsigned time) {
|
|||
if (!down) {
|
||||
return;
|
||||
}
|
||||
Con_ToggleConsole_f ();
|
||||
Con_ToggleConsole_f ();
|
||||
Key_ClearStates ();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue