Use the same controls check for startUse and processAttacking

qt6_macos
uramer 5 months ago
parent e9b48e35c0
commit 9d1a3f243d

@ -195,7 +195,7 @@ end))
local startUse = false
input.registerActionHandler('Use', async:callback(function(value)
if value and controlsAllowed() then startUse = true end
if value and combatAllowed() then startUse = true end
end))
local function processAttacking()
if Actor.stance(self) == Actor.STANCE.Spell then

Loading…
Cancel
Save