mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 04:24:54 +02:00
fix a vip warning
This commit is contained in:
@@ -115,7 +115,7 @@ function VipList.onVipStateChange(id, online)
|
||||
local vipList = vipWindow:getChildById('contentsPanel')
|
||||
local label = vipList:getChildById('vip' .. id)
|
||||
local text = label:getText()
|
||||
vipList:removeChild(label)
|
||||
label:destroy()
|
||||
|
||||
VipList.onAddVip(id, text, online)
|
||||
end
|
||||
|
Reference in New Issue
Block a user