修改描述
This commit is contained in:
parent
dc84eb073d
commit
1ca93be7f6
@ -22,14 +22,13 @@ function BoxItemTips:onLoadRootComplete()
|
|||||||
return self:closeUI()
|
return self:closeUI()
|
||||||
end
|
end
|
||||||
local drop = nil
|
local drop = nil
|
||||||
local titleTx = I18N:getGlobalText(I18N.GlobalConst.BOX_ITEM_TIPS_DESC_1)
|
local titleTx = I18N:getText("item", self.itemId, "desc")
|
||||||
self.isFixed = false
|
self.isFixed = false
|
||||||
if cfg.item_drop then
|
if cfg.item_drop then
|
||||||
drop = cfg.item_drop
|
drop = cfg.item_drop
|
||||||
else
|
else
|
||||||
drop = cfg.reward
|
drop = cfg.reward
|
||||||
self.isFixed = true
|
self.isFixed = true
|
||||||
titleTx = I18N:getText("item", self.itemId, "desc")
|
|
||||||
end
|
end
|
||||||
if drop == nil then
|
if drop == nil then
|
||||||
return self:closeUI()
|
return self:closeUI()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user