diff options
Diffstat (limited to 'src/client/input.cc')
-rw-r--r-- | src/client/input.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/input.cc b/src/client/input.cc index b339574..eda13fd 100644 --- a/src/client/input.cc +++ b/src/client/input.cc @@ -109,7 +109,9 @@ void frame(float seconds) switch (event.type) { case SDL_KEYUP: - if (!console::visible() && core::application()->connected() && core::localcontrol()) + if (!chat::visible() && !console::visible() && + core::application()->connected() && core::localcontrol()) + // send key events to the game world keyreleased(event.key.keysym); break; |