【山河社稷图】开启章节界面修改

dev_chengFeng
zhangqiang 2021-05-27 23:09:37 +08:00
parent cde2379d78
commit 9922678210
1 changed files with 7 additions and 5 deletions

View File

@ -324,12 +324,14 @@ function this.ShowBattleResultByFightLevelType(drop)
m_battlePanel:ClosePanel() m_battlePanel:ClosePanel()
end end
this:ClosePanel() this:ClosePanel()
local chapterData = FightLevelManager.GetChapterData(oldBattlefightLevelData.config.Chapter)
if FightLevelManager.GetisShowChapterOpenPopup() then if FightLevelManager.GetisShowChapterOpenPopup() then
UIManager.OpenPanel(UIName.FightLevelOpenChapterPopup,FightLevelManager.GetCurChapterId(),function() if oldBattlefightLevelData.config.Section == LengthOfTable(chapterData.node) then
-- Game.GlobalEvent:DispatchEvent(GameEvent.FightLevel.MainLevelInfoRefresh) UIManager.OpenPanel(UIName.FightLevelOpenChapterPopup,FightLevelManager.GetCurChapterId(),function()
end) end)
else else
-- Game.GlobalEvent:DispatchEvent(GameEvent.FightLevel.MainLevelInfoRefresh) FightLevelManager.SetisShowChapterOpenPopup(false)
end
end end
end end
end, 8,true,true) end, 8,true,true)