【山河社稷图】开启章节界面修改
parent
cde2379d78
commit
9922678210
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue