Browse Source

工作室关卡开启检测

zhaoyang 3 years ago
parent
commit
830dfa70e4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      GameClient/Assets/Game/HotUpdate/Data/StudioDataManager.cs

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Data/StudioDataManager.cs

@@ -83,7 +83,7 @@ namespace GFGGame
             bool isLastPast = true;
 
             List<StoryLevelCfg> storyLevelCfgs = StoryLevelCfgArray.Instance.GetCfgs(storyLevelCfg.type, storyLevelCfg.subType, storyLevelCfg.chapterId);
-            if (storyLevelCfg.order > 1 && storyLevelCfg.order < storyLevelCfgs.Count)
+            if (storyLevelCfg.order > 1 && storyLevelCfg.order <= storyLevelCfgs.Count)
             {
 
                 isLastPast = InstanceZonesDataManager.CheckLevelPass(storyLevelCfgs[storyLevelCfg.order - 1].id);