【大闹天宫】一键上阵报错2
parent
618c8b635f
commit
946841a8fb
|
@ -356,7 +356,11 @@ end
|
||||||
function this:SetGongMingList(Id)
|
function this:SetGongMingList(Id)
|
||||||
local data = HeroManager.GetSingleHeroData(Id)
|
local data = HeroManager.GetSingleHeroData(Id)
|
||||||
table.insert(this.hongmengGongMingList,data)
|
table.insert(this.hongmengGongMingList,data)
|
||||||
|
-- LogYellow("Id "..Id)
|
||||||
|
if not ExpeditionManager.heroInfo[Id] then
|
||||||
|
-- LogRed("Id "..Id)
|
||||||
|
ExpeditionManager.InitHeroHpValue(Id)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function this:RemoveGongMingList(Id)
|
function this:RemoveGongMingList(Id)
|
||||||
|
|
Loading…
Reference in New Issue