mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-23 08:09:42 +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:
commit
f1c3b42cfb
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ local function processAttacking()
|
||||||
end
|
end
|
||||||
|
|
||||||
local function onFrame(dt)
|
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 not movementControlsOverridden then
|
||||||
if controlsAllowed then
|
if controlsAllowed then
|
||||||
processMovement()
|
processMovement()
|
||||||
|
|
Loading…
Reference in a new issue