浏览代码

剧情跳过

zhaoyang 2 年之前
父节点
当前提交
72833a09ff
共有 1 个文件被更改,包括 10 次插入10 次删除
  1. 10 10
      GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryDialogView.cs

+ 10 - 10
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryDialogView.cs

@@ -109,16 +109,16 @@ namespace GFGGame
             {
                 _onCompleteStoryDialogCallParam = datas[3];
             }
-            StoryChapterCfg chapterCfg = StoryChapterCfgArray.Instance.GetCfg(MainStoryDataManager.currentChapterCfgId);
-            if (LauncherConfig.netType == LauncherConfig.EnumNetType.TEMP && MainStoryDataManager.currentChapterCfgId == 10001 && !InstanceZonesDataManager.CheckChapterPass(chapterCfg.type, chapterCfg.subType, chapterCfg.id, chapterCfg.levelCount))
-            {
-                // 临时设置都可以跳过对话
-                skipable = false;
-            }
-            else
-            {
-                skipable = true;
-            }
+            // StoryChapterCfg chapterCfg = StoryChapterCfgArray.Instance.GetCfg(MainStoryDataManager.currentChapterCfgId);
+            // if (LauncherConfig.netType == LauncherConfig.EnumNetType.TEMP && MainStoryDataManager.currentChapterCfgId == 10001 && !InstanceZonesDataManager.CheckChapterPass(chapterCfg.type, chapterCfg.subType, chapterCfg.id, chapterCfg.levelCount))
+            // {
+            //     // 临时设置都可以跳过对话
+            //     skipable = false;
+            // }
+            // else
+            // {
+            skipable = true;
+            // }
 
             _ui.m_btnSkip.visible = skipable;