[1.1.77] walking input gets jammed if start_walking permission changes

This subforum contains all the issues which we already resolved.
Honktown
Smart Inserter
Smart Inserter
Posts: 1045
Joined: Thu Oct 03, 2019 7:10 am
Contact:

[1.1.77] walking input gets jammed if start_walking permission changes

Post 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)
I have mods! I guess!
Link
Rseding91
Factorio Staff
Factorio Staff
Posts: 14595
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post by Rseding91 »

Thanks for the report. It's now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”