[1.1.77] walking input gets jammed if start_walking permission changes
Posted: Mon Mar 06, 2023 11:31 pm
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:
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)
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:
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)