소스 검색

修复跳过引导后战斗卡流程问题

zhaoyang 3 년 전
부모
커밋
0dea2e4704
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      GameClient/Assets/Game/HotUpdate/Data/GuideDataManager.cs

+ 2 - 0
GameClient/Assets/Game/HotUpdate/Data/GuideDataManager.cs

@@ -111,6 +111,7 @@ namespace GFGGame
         public static int GetGuideCountCopy(string guideKey)
         {
             if (!GuideController.useNewGuide) return 1;
+            if (GameGlobal.skipGuide) return 1;
 
             GuideCfg cfg = GuideCfgArray.Instance.GetCfg(guideKey);
             if (_dataDic.ContainsKey(cfg.id))
@@ -123,6 +124,7 @@ namespace GFGGame
         public static int GetGuideCountCopy(int guideId)
         {
             if (!GuideController.useNewGuide) return 1;
+            if (GameGlobal.skipGuide) return 1;
 
             if (_dataDic.ContainsKey(guideId))
             {