1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-22 05:39:43 +00:00

Merge branch 'minorfix_local' into 'master'

Add missing 'local' in playercontrols.lua

See merge request OpenMW/openmw!3324
This commit is contained in:
jvoisin 2023-08-10 15:09:36 +00:00
commit f1c3b42cfb

View file

@ -106,7 +106,7 @@ local function processAttacking()
end
local function onFrame(dt)
controlsAllowed = input.getControlSwitch(input.CONTROL_SWITCH.Controls) and not core.isWorldPaused()
local controlsAllowed = input.getControlSwitch(input.CONTROL_SWITCH.Controls) and not core.isWorldPaused()
if not movementControlsOverridden then
if controlsAllowed then
processMovement()