Browse Source

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

zhaoyang 3 years ago
parent
commit
0dea2e4704
1 changed files with 2 additions and 0 deletions
  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))
             {