mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-31 05:36:40 +00:00
Check if controls are on for Use action
This commit is contained in:
parent
29c20cdb41
commit
5f2cbf810d
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ end))
|
|||
|
||||
local startUse = false
|
||||
input.registerActionHandler('Use', async:callback(function(value)
|
||||
if value then startUse = true end
|
||||
if value and controlsAllowed() then startUse = true end
|
||||
end))
|
||||
local function processAttacking()
|
||||
if Actor.stance(self) == Actor.STANCE.Spell then
|
||||
|
|
Loading…
Reference in a new issue