关闭解锁章节挂机界面
parent
fd6e00c757
commit
ab694c89f7
|
|
@ -653,6 +653,7 @@ end
|
|||
-- 执行关卡战斗
|
||||
function this.ExcuteBattle()
|
||||
if not FightPointPassManager.IsChapterClossState() then
|
||||
fightMap.StopAction()
|
||||
UIManager.OpenPanel(UIName.FightMiddleChoosePanel, FightPointPassManager.curOpenFight, true,function ()
|
||||
--- 临时代码
|
||||
--FightPointPassManager.SetChapterOpenState(false)
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ function this.CheckFuncActiveByType(activeType, params)
|
|||
local isActive = this.SingleFuncState(typeId)
|
||||
--Log("检测功能是否已解锁,id = "..id..", isActive = "..tostring(isActive))
|
||||
local aGuideId = AllActSetConfig[typeId].GuideId
|
||||
if AllActSetConfig[aGuideId] and AllActSetConfig[aGuideId].IsOpen > 0 then
|
||||
if AllActSetConfig[aGuideId] and AllActSetConfig[aGuideId].IsOpen and AllActSetConfig[aGuideId].IsOpen> 0 then
|
||||
if ActivityGiftManager.IsActivityTypeOpen(ActivityGiftManager.GetActivityTypeFromId(GuideConfig[aGuideId].IsOpen)) then
|
||||
table.insert(ids,typeId)
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue