mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-04-30 03:09:20 +02:00
Version 0.996 beta, small bug fixes
This commit is contained in:
parent
c477637a46
commit
5e76deebac
@ -402,7 +402,7 @@ end
|
|||||||
|
|
||||||
function prepareKeyCombo(keyCombo)
|
function prepareKeyCombo(keyCombo)
|
||||||
local hotKey = hotkeyList[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%+", "")
|
||||||
keyCombo = keyCombo:gsub("ctrl%+", "")
|
keyCombo = keyCombo:gsub("ctrl%+", "")
|
||||||
hotKey = hotkeyList[keyCombo]
|
hotKey = hotkeyList[keyCombo]
|
||||||
|
@ -334,6 +334,9 @@ end
|
|||||||
function onVipStateChange(id, state)
|
function onVipStateChange(id, state)
|
||||||
local vipList = vipWindow:getChildById('contentsPanel')
|
local vipList = vipWindow:getChildById('contentsPanel')
|
||||||
local label = vipList:getChildById('vip' .. id)
|
local label = vipList:getChildById('vip' .. id)
|
||||||
|
if not label then
|
||||||
|
return
|
||||||
|
end
|
||||||
local name = label:getText()
|
local name = label:getText()
|
||||||
local description = label:getTooltip()
|
local description = label:getTooltip()
|
||||||
local iconId = label.iconId
|
local iconId = label.iconId
|
||||||
|
BIN
otclient_dx.exe
BIN
otclient_dx.exe
Binary file not shown.
BIN
otclient_gl.exe
BIN
otclient_gl.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user