|
@@ -53,7 +53,7 @@ namespace GFGGame
|
|
|
subType = 0;//MainStoryDataManager.GetChapterSubType(MainStoryDataManager.currentChapterCfgId);
|
|
|
if (this.viewData != null)
|
|
|
{
|
|
|
- subType = (int)this.viewData;
|
|
|
+ subType = (int)(this.viewData as object[])[0];
|
|
|
}
|
|
|
_ui.m_listType.selectedIndex = subType;
|
|
|
UpdateList();
|
|
@@ -96,7 +96,7 @@ namespace GFGGame
|
|
|
StoryChapterCfg chapterCfg = StoryChapterCfgArray.Instance.GetCfg(chapterID);
|
|
|
if (MainStoryDataManager.CheckChapterUnlock(chapterID))
|
|
|
{
|
|
|
- ViewManager.Show(ViewName.STORY_CHAPTER_VIEW, chapterID, new object[] { ViewName.STORY_CHAPTER_LIST_VIEW, _ui.m_listType.selectedIndex });
|
|
|
+ ViewManager.Show(ViewName.STORY_CHAPTER_VIEW, chapterID, new object[] { ViewName.STORY_CHAPTER_LIST_VIEW, new object[] { _ui.m_listType.selectedIndex } });
|
|
|
this.Hide();
|
|
|
}
|
|
|
else
|