【灵兽宝阁】确认框错误修改
parent
63bf32f335
commit
c637166494
|
@ -246,7 +246,6 @@ function LingShouBaoGe:refreshBtnShow()
|
|||
end
|
||||
|
||||
function LingShouBaoGe:Recruit(id,RecruitMaxtimesId,itemId,itemNum,state,freeTimesId,recruitType)
|
||||
local generalType = id%2 == 0 and RecruitType.BaoGeSingle or RecruitType.BaoGeTen
|
||||
local num = id%2 == 0 and 1 or 10
|
||||
--是否超过每日最大上限
|
||||
if PrivilegeManager.GetPrivilegeRemainValue(RecruitMaxtimesId) < num then
|
||||
|
@ -260,7 +259,7 @@ function LingShouBaoGe:Recruit(id,RecruitMaxtimesId,itemId,itemNum,state,freeTim
|
|||
end
|
||||
end
|
||||
if itemId == 16 and state == 0 then
|
||||
UIManager.OpenPanel(UIName.GeneralPopup,GENERAL_POPUP_TYPE.RecruitConfirm,self.tenRecruit.Id,
|
||||
UIManager.OpenPanel(UIName.GeneralPopup,GENERAL_POPUP_TYPE.RecruitConfirm,id,
|
||||
function()
|
||||
RecruitManager.RecruitRequest(id,function(msg)
|
||||
PrivilegeManager.RefreshPrivilegeUsedTimes(RecruitMaxtimesId,num)
|
||||
|
|
Loading…
Reference in New Issue