Fix #7156 "Autorun is broken"

7220-lua-add-a-general-purpose-lexical-parser
Petr Mikheev 2 years ago
parent 203eb80afd
commit b9d38ae8d8

@ -133,7 +133,7 @@ local function onInputAction(action)
elseif action == input.ACTION.Use then
startAttack = true
elseif action == input.ACTION.AutoMove and not movementControlsOverridden then
autoMove = true
autoMove = not autoMove
elseif action == input.ACTION.AlwaysRun and not movementControlsOverridden then
settings:set('alwaysRun', not settings:get('alwaysRun'))
elseif action == input.ACTION.Sneak and not movementControlsOverridden then

Loading…
Cancel
Save