Explorar o código

工作室关卡开启检测

zhaoyang %!s(int64=3) %!d(string=hai) anos
pai
achega
830dfa70e4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);