diff --git a/input.lua b/input.lua index 209d380..57a4e48 100644 --- a/input.lua +++ b/input.lua @@ -49,9 +49,9 @@ return function(core, input, ...) end -- user interaction - if input.force ~= nil and input.force then + if input.forcefocus ~= nil and input.forcefocus then core.active = opt.id - input.force = false + input.forcefocus = false end opt.state = core:registerHitbox(opt.id, x,y,w,h)