【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 return
end end
RecruitManager.RecruitRequest(RecruitType.RecruitBox, function(msg) 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)) this.curNum.text=string.format(Language[11637],BagManager.GetItemCountById(94))
parent:ClosePanel() parent:ClosePanel()
end) end)

View File

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