Эх сурвалжийг харах

工作室关卡开启检测

zhaoyang 3 жил өмнө
parent
commit
830dfa70e4

+ 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);