space-wizards / space-station-14

A multiplayer game about paranoia and chaos on a space station. Remake of the cult-classic Space Station 13.
https://spacestation14.com
MIT License
2.75k stars 3.49k forks source link

Switch walking activates while using the chat #33624

Open Moryachok136 opened 4 days ago

Moryachok136 commented 4 days ago

Description

I use the walking toggle setting. Using shift is very inconvenient, as every time I try to use shift+lmb or shift+mmb, it forces me to switch to walking. Therefore, I changed the walking key to spacebar, but faced the issue of walking being activated even while using the chat.

UPD: i tested, it works with any hotkeys.

Reproduction Turn on switch walking and rebind it to any key. Switch activates while chatting.

UPD, Discovered new patterns: Pressing a hotkey with chat open only disables running mode, but not turning it on. If walking was switched off before opening chat, then after pushing hotkey and closing chat you will need to press the hotkey 2 times to switch walking on.

Screenshots I have not

Additional context

I believe hotkeys should not work while using the chat.

Perhaps it's worth switching from walking to releasing the key, so that if a key combination was pressed, walking would not be counted? In that case, the shift key could be used conveniently.

Plykiya commented 3 days ago

what's interesting about this is that the WASD key inputs are obviously consumed by the chat input and your character doesn't actually walk, but the shift key somehow makes it through and triggers toggling walk