浏览代码

外网关闭跳过引导

zhaoyang 3 年之前
父节点
当前提交
66fb6c152b
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      GameClient/Assets/Game/HotUpdate/Controller/GameController.cs

+ 3 - 2
GameClient/Assets/Game/HotUpdate/Controller/GameController.cs

@@ -1,6 +1,7 @@
 using FairyGUI;
 using UnityEngine;
 using ET;
+using static GFGGame.LauncherConfig;
 
 namespace GFGGame
 {
@@ -116,7 +117,7 @@ namespace GFGGame
 
             int skipGuide = StorageDataManager.Instance.GetStorageValue(ConstStorageId.STORAGE_SKIP_GUIDE);
 
-            if (skipGuide <= 0)
+            if (skipGuide <= 0 && LauncherConfig.netType == EnumNetType.LOCAL)
             {
                 Alert.Show("是否跳过引导?如果您是第一次体验,建议不要跳过引导!")
                            .SetLeftButton(true, "不用", (obj) =>
@@ -133,7 +134,7 @@ namespace GFGGame
             }
             else
             {
-                if (skipGuide == 2) GameGlobal.skipGuide = true;
+                if (skipGuide == 2 && LauncherConfig.netType == EnumNetType.LOCAL) GameGlobal.skipGuide = true;
                 EnterGame();
 
             }