对充值活动进行关闭
parent
954ee0079f
commit
ef74528bc7
|
|
@ -67,6 +67,9 @@ function ActivityMainPanel:CheckActOpen(_index)
|
|||
_index = i
|
||||
end
|
||||
end
|
||||
if tabs[_index].IsRecharge == 1 and (not RECHARGEABLE) then
|
||||
return
|
||||
end
|
||||
if tabs[_index].IfBack == 1 then
|
||||
if tabs[_index].ActiveType > 0 then
|
||||
local id = ActivityGiftManager.IsActivityTypeOpen(tabs[_index].ActiveType)
|
||||
|
|
|
|||
|
|
@ -621,6 +621,9 @@ function this.IsQualifiled(id)
|
|||
if not openRule or #openRule < 1 then
|
||||
return true
|
||||
end
|
||||
if data.IsRecharge == 1 and (not RECHARGEABLE) then
|
||||
return false
|
||||
end
|
||||
if openRule[1] == 1 then -- 关卡开启
|
||||
qualifiled = FightPointPassManager.IsFightPointPass(openRule[2])
|
||||
elseif openRule[1] == 2 then -- 等级开启
|
||||
|
|
|
|||
Loading…
Reference in New Issue