This commit is contained in:
MrNewb committed 2025-06-10 06:13:19 -04:00
1 parent 854ca2bd61
commit 9edcb229f3
1 file changed
+6 -1
+6 -1
View File
@@ -612,8 +612,13 @@ local function translateKey(key)
end
function Utility.GetCommandKey(commandName)
local hash = GetHashKey(commandName)
local hash = GetHashKey(commandName) | 0x80000000
local button = GetControlInstructionalButton(2, hash, true)
if not button or button == "" or button == "NULL" then
hash = GetHashKey(commandName)
button = GetControlInstructionalButton(2, hash, true)
end
return translateKey(button)
end