guodong 3 lat temu
rodzic
commit
992f4669b7

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Controller/LogController.cs

@@ -23,7 +23,7 @@ namespace GFGGame
             msgDic.Add(_all, new List<string>());
             msgDic.Add(_error, new List<string>());
             msgDic.Add(_log, new List<string>());
-            if (LauncherConfig.netType == EnumNetType.LOCAL)
+            if (LauncherConfig.onDebug == 1)
             {
                 this.CreatBtnLog();
             }
@@ -70,7 +70,7 @@ namespace GFGGame
                         _btnLog.m_c1.selectedIndex = 1;
                         _btnLog.target.alpha = 1;
                     }
-                    if (LauncherConfig.netType == EnumNetType.LOCAL)
+                    if (LauncherConfig.onDebug == 1)
                     {
                         this.SetBtnLogVisable(true);
                     }