浏览代码

修改博物图鉴进度计算

leiyasi 1 年之前
父节点
当前提交
bef57b7500
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      GameClient/Assets/Game/HotUpdate/Data/InstanceZonesDataManager.cs

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Data/InstanceZonesDataManager.cs

@@ -383,9 +383,9 @@ namespace GFGGame
         public static void GetTotalProgress(out int count, out int totalCount)
         {
             List<StoryChapterCfg> storyChapters = StoryChapterCfgArray.Instance.GetCfgsBysubType(ConstInstanceZonesSubType.Normal);
-            totalCount = storyChapters.Count - 1;
+            totalCount = storyChapters.Count;
             count = 0;
-            for (int i = 1; i < storyChapters.Count; i++)
+            for (int i = 0; i < storyChapters.Count; i++)
             {
                 bool isPass = InstanceZonesDataManager.CheckChapterPass(storyChapters[i].type, storyChapters[i].subType, storyChapters[i].id, storyChapters[i].levelCount);
                 if (isPass)