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