1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 15:29:55 +00:00

Merge branch 'fix_7156' into 'master'

Fix #7156 "Autorun is broken"

Closes #7156

See merge request OpenMW/openmw!2613
This commit is contained in:
Alexei Kotov 2023-01-13 22:28:31 +00:00
commit d1c602ce85

View file

@ -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