|
@@ -302,10 +302,13 @@ namespace GFGGame
|
|
|
|
|
|
StoryLevelCfg lastLevelCfg = list[list.Count - 1];
|
|
|
StoryChapterCfg LastChapterCfg = StoryChapterCfgArray.Instance.GetCfg(_chapterID + 1);
|
|
|
- if (lastLevelCfg != null && InstanceZonesDataManager.CheckLevelPass(lastLevelCfg.id) && LastChapterCfg != null)
|
|
|
+ if (lastLevelCfg != null && InstanceZonesDataManager.CheckLevelPass(lastLevelCfg.id))
|
|
|
{
|
|
|
- _ui.m_chapter.m_compChapterScroll.m_imgBegin.visible = true;
|
|
|
- _ui.m_chapter.m_compChapterScroll.m_nextEffect.visible = true;
|
|
|
+ if(LastChapterCfg != null)
|
|
|
+ {
|
|
|
+ _ui.m_chapter.m_compChapterScroll.m_imgBegin.visible = true;
|
|
|
+ _ui.m_chapter.m_compChapterScroll.m_nextEffect.visible = true;
|
|
|
+ }
|
|
|
if (chapterCfg.suitId > 0 && chapterCfg.subType == 0)
|
|
|
{
|
|
|
_ui.m_targetSuit.visible = true;
|