Page 1 of 1

[1.1.77] walking input gets jammed if start_walking permission changes

Posted: Mon Mar 06, 2023 11:31 pm
by Honktown
Expectation:
1) press a movement key while one does not have permission to walk
2) no movement
2) release movement key
3) permission is allowed again (group change or permission change within group)
4) press same movement key
5) start moving

What happens:
4) press same movement key
5) no movement
5) cannot use that movement key until another input event happens

Pressing another direction is the most obvious "another input", but I phrase it "input event" because selecting an entity also "un-jams" the key

Command which causes the situation:
walking-input-gets-jammed.lua
(1.24 KiB) Downloaded 72 times

Alternate description:
0) run command, pick one of WASD
1) keep tapping the direction
2) when you lose permission to walk, one won't move while pressing the direction key (yes)
3) when one gains permission to walk, that direction key still doesn't work until anything else is input <-- (bug)

Re: [1.1.77] walking input gets jammed if start_walking permission changes

Posted: Thu Mar 09, 2023 10:53 pm
by Rseding91
Thanks for the report. It's now fixed for the next release.