瀏覽代碼

蜃中楼动效调整

huangxiaoyue 2 年之前
父節點
當前提交
ced7790809
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryChapterListView.cs

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryChapterListView.cs

@@ -214,7 +214,7 @@ namespace GFGGame
             {
                 _time = currentChapterIndex - 2;
             }
-            else if (currentChapterIndex == childrenCount - 2)
+            else if (currentChapterIndex >= 1 && currentChapterIndex <= childrenCount - 2)
             {
                 _time = currentChapterIndex - 1;
             }