|
@@ -233,7 +233,8 @@ namespace GFGGame
|
|
int lineGap = 4500 / list.Count;
|
|
int lineGap = 4500 / list.Count;
|
|
|
|
|
|
StoryLevelCfg lastLevelCfg = list[list.Count - 1];
|
|
StoryLevelCfg lastLevelCfg = list[list.Count - 1];
|
|
- if (lastLevelCfg != null && MainStoryDataManager.CheckLevelUnlock(lastLevelCfg.id))
|
|
|
|
|
|
+ StoryChapterCfg LastChapterCfg = StoryChapterCfgArray.Instance.GetCfg(_chapterID + 1);
|
|
|
|
+ if (lastLevelCfg != null && MainStoryDataManager.CheckLevelUnlock(lastLevelCfg.id) && LastChapterCfg != null)
|
|
{
|
|
{
|
|
_ui.m_chapter.m_compChapterScroll.m_imgBegin.visible = true;
|
|
_ui.m_chapter.m_compChapterScroll.m_imgBegin.visible = true;
|
|
}
|
|
}
|