Version 0.996 beta, small bug fixes

This commit is contained in:
OTCv8
2019-10-16 00:32:37 +02:00
parent c477637a46
commit 5e76deebac
9 changed files with 319 additions and 316 deletions

View File

@@ -402,7 +402,7 @@ end
function prepareKeyCombo(keyCombo)
local hotKey = hotkeyList[keyCombo]
if keyCombo:lower():find("ctrl") and not hotKey or (hotKey.itemId == nil and (not hotKey.value or #hotKey.value == 0)) then
if keyCombo:lower():find("ctrl") or not hotKey or (hotKey.itemId == nil and (not hotKey.value or #hotKey.value == 0)) then
keyCombo = keyCombo:gsub("Ctrl%+", "")
keyCombo = keyCombo:gsub("ctrl%+", "")
hotKey = hotkeyList[keyCombo]