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

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()
end
this:ClosePanel()
local chapterData = FightLevelManager.GetChapterData(oldBattlefightLevelData.config.Chapter)
if FightLevelManager.GetisShowChapterOpenPopup() then
UIManager.OpenPanel(UIName.FightLevelOpenChapterPopup,FightLevelManager.GetCurChapterId(),function()
-- Game.GlobalEvent:DispatchEvent(GameEvent.FightLevel.MainLevelInfoRefresh)
end)
else
-- Game.GlobalEvent:DispatchEvent(GameEvent.FightLevel.MainLevelInfoRefresh)
if oldBattlefightLevelData.config.Section == LengthOfTable(chapterData.node) then
UIManager.OpenPanel(UIName.FightLevelOpenChapterPopup,FightLevelManager.GetCurChapterId(),function()
end)
else
FightLevelManager.SetisShowChapterOpenPopup(false)
end
end
end
end, 8,true,true)