Check if controls are on for Use action

qt6_macos
uramer 5 months ago
parent 29c20cdb41
commit 5f2cbf810d

@ -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…
Cancel
Save