mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-10 00:08:08 -06:00
Remove shortcut when GUI is disabled and enable keybind
This commit is contained in:
@@ -47,7 +47,7 @@ end
|
||||
local manager_gui = {}
|
||||
|
||||
function manager_gui.on_lua_shortcut(e)
|
||||
if e.prototype_name == "cybersyn-toggle-gui" then
|
||||
if e.prototype_name == "cybersyn-toggle-gui" or e.input_name == "cybersyn-toggle-gui" then
|
||||
manager.wrapper(e, manager.handle.manager_toggle)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user