|
@@ -122,7 +122,10 @@ namespace GFGGame
|
|
|
var preChapterCfg = StoryChapterCfgArray.Instance.GetCfg(preChapterId);
|
|
|
if (preChapterCfg != null)
|
|
|
{
|
|
|
- return InstanceZonesDataManager.CheckChapterPass(preChapterCfg.type, preChapterCfg.subType, preChapterCfg.id, preChapterCfg.levelCount);
|
|
|
+ if(!InstanceZonesDataManager.CheckChapterPass(preChapterCfg.type, preChapterCfg.subType, preChapterCfg.id, preChapterCfg.levelCount))
|
|
|
+ {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
}
|
|
|
//前置关卡
|
|
|
return CheckNeedChapterPass(chapterId, out var needChapterId);
|