Do more hacky shit

I hate this api
This commit is contained in:
2025-05-07 21:39:49 +02:00
parent f17078c8a8
commit 1b09f262d5
2 changed files with 16 additions and 3 deletions

View File

@@ -143,6 +143,12 @@ local function ImportKeybindSet(setName, importStr)
for _, line in ipairs(lines) do
local command, key, key2 = strsplit(":", line)
if command and key then
if string.find(command, "CLICK ") then
-- I can't believe we have to do this bullshit...
local tmp = key
key = key2
key2 = tmp
end
if not set[command] then set[command] = {
key1 = key,
key2 = key2,