【选择神将】报错修复

dev_chengFeng
gaoxin 2022-02-24 02:56:42 +08:00
parent cbc4f3f410
commit 0ce89251f8
1 changed files with 2 additions and 3 deletions

View File

@ -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