关闭解锁章节挂机界面

dev_chengFeng
jiaoyangna 2021-06-03 17:09:30 +08:00
parent fd6e00c757
commit ab694c89f7
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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