mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 12:01:51 +00:00
Add missing 'local' in playercontrols.lua
This commit is contained in:
parent
84e71f4977
commit
b34930d3f2
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user