浏览代码

添加gm远程开关

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

+ 2 - 2
GameClient/Assets/Game/HotUpdate/GameConfig.cs

@@ -19,14 +19,14 @@ namespace GFGGame
             LoginAddress = result.loginApiUrl;
             //LoginAddress = "10.108.64.127:10005";
             PlatformName = result.platformName;
-            showGM = result.showGM;
+            showGM = int.Parse(result.showGM);
         }
 
         private struct Result
         {
             public string loginApiUrl;
             public string platformName;
-            public int showGM;
+            public string showGM;
         }
     }
 }