|
@@ -37,7 +37,17 @@ namespace GFGGame
|
|
|
{
|
|
|
index = 1;
|
|
|
}
|
|
|
- ViewManager.Show<StoryChapterListView>(new object[] { index , nextStoryChapterCfg.order}, null, true);
|
|
|
+ //当副本表内最后一章通关时
|
|
|
+ if (nextStoryChapterCfg == null)
|
|
|
+ {
|
|
|
+ StoryChapterCfg lastChapter = StoryChapterCfgArray.Instance.GetCfg(levelCfg.chapterId);
|
|
|
+ ViewManager.Show<StoryChapterListView>(new object[] { index, lastChapter.order - 1 }, null, true);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ ViewManager.Show<StoryChapterListView>(new object[] { index , nextStoryChapterCfg.order}, null, true);
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
else
|
|
|
{
|