【0106抽卡修复】普通抽卡报错修复

(cherry picked from commit 254b22a75a893eaf9b1e792b83881e61f8e43d0f)
dev_chengFeng
ZhangBiao 2021-01-06 13:58:25 +08:00
parent 7cb9252f45
commit 524e502773
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ function this:BindEvent()
return
end
RecruitManager.RecruitRequest(RecruitType.RecruitBox, function(msg)
UIManager.OpenPanel(UIName.SingleRecruitPanel, msg.drop.Hero[1],RecruitType.RecruitBox,1)
UIManager.OpenPanel(UIName.SingleRecruitPanel, msg.drop.Hero[1],RecruitType.RecruitBox,1,{RecruitType.RecruitBox,RecruitType.RecruitBox})
this.curNum.text=string.format(Language[11637],BagManager.GetItemCountById(94))
parent:ClosePanel()
end)

View File

@ -229,7 +229,7 @@ function SingleRecruitPanel:TenOpenPanel()
self:UpdataPanelData(_heroTable[index])
else
self:ClosePanel()
UIManager.OpenPanel(UIName.TenRecruitPanel,heroData,type)
UIManager.OpenPanel(UIName.TenRecruitPanel,heroData,type,recruitType)
end
end
end, timeNum2)