【选择神将】报错修复
parent
cbc4f3f410
commit
0ce89251f8
|
@ -78,11 +78,10 @@ function this:OnShow(_parent,_args)
|
|||
parent=_parent
|
||||
sortingOrder =_parent.sortingOrder
|
||||
local default = 1
|
||||
local UpList = ConfigManager.GetConfigDataByKey(ConfigName.WishActivityUp,"ActivityId",ActivityGiftManager.GetActivityIdByType(ActivityTypeDef.LimitUpHero)).UpList
|
||||
if currHeroId and currHeroId ~= 0 then
|
||||
for index, value in ipairs(UpList) do
|
||||
for index, value in ipairs(heros) do
|
||||
if value[1] == currHeroId then
|
||||
default = value[5]
|
||||
default = value[2]
|
||||
break
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue