Explorar o código

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

zhaoyang %!s(int64=3) %!d(string=hai) anos
pai
achega
0dea2e4704
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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))
             {