1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Fix #14195: Binding (NumPad) Enter to send message closes the chat

This commit is contained in:
Ted John
2021-02-28 14:08:16 +00:00
parent 789b04b4aa
commit 083d22adf2

View File

@@ -253,7 +253,7 @@ void InputManager::ProcessInGameConsole(const InputEvent& e)
void InputManager::ProcessChat(const InputEvent& e)
{
if (e.DeviceKind == InputDeviceKind::Keyboard && e.State == InputEventState::Release)
if (e.DeviceKind == InputDeviceKind::Keyboard && e.State == InputEventState::Down)
{
auto input = ChatInput::None;
switch (e.Button)