Client: Make sure an K_ESCAPE input event gets forwarded to the menu regardless.
This commit is contained in:
parent
5e9a65924a
commit
e947e35cd6
1 changed files with 1 additions and 1 deletions
|
@ -504,7 +504,7 @@ CSQC_InputEvent(float fEventType, float fKey, float fCharacter, float fDeviceID)
|
|||
setcursormode(FALSE, "gfx/cursor", [0,0,0], 1.0f);
|
||||
}
|
||||
|
||||
if (VGUI_Active())
|
||||
if (VGUI_Active() && !(fEventType == IE_KEYDOWN && fCharacter == K_ESCAPE))
|
||||
return (1);
|
||||
else
|
||||
return (0);
|
||||
|
|
Loading…
Reference in a new issue