force menu bindings

This commit is contained in:
Ren Tatsumoto 2020-10-23 16:40:09 +03:00
parent 4e9e3649d7
commit 9300a82f15

View file

@ -243,7 +243,7 @@ function Menu:open()
self.parent:close()
end
for _, val in pairs(self.keybindings) do
mp.add_key_binding(val.key, val.key, val.fn)
mp.add_forced_key_binding(val.key, val.key, val.fn)
end
self:update()
end