stop game from getting stuck in chat mode if the main menu is open
This commit is contained in:
parent
974aacfb7b
commit
c3f95426ba
1 changed files with 2 additions and 0 deletions
|
|
@ -1000,6 +1000,8 @@ bool G_Responder (event_t *ev)
|
|||
if (gameaction == ga_nothing &&
|
||||
(demoplayback || gamestate == GS_DEMOSCREEN || gamestate == GS_TITLELEVEL))
|
||||
{
|
||||
if (chatmodeon) chatmodeon = 0;
|
||||
|
||||
const char *cmd = Bindings.GetBind (ev->data1);
|
||||
|
||||
if (ev->type == EV_KeyDown)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue