Browse Source

断线重连日志

guodong 2 years ago
parent
commit
9d68491045
1 changed files with 1 additions and 1 deletions
  1. 1 1
      GameClient/Assets/Game/HotUpdate/Controller/LoginController.cs

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Controller/LoginController.cs

@@ -261,7 +261,7 @@ namespace GFGGame
             int errorCode = await LoginHelper.EnterGame(GameGlobal.zoneScene);
             if (errorCode != ErrorCode.ERR_Success)
             {
-                if(errorCode != ErrorCode.ERR_SessionStateError)
+                if(errorCode != ErrorCode.ERR_SessionStateError && errorCode != ErrorCode.ERR_NetWorkError)
                 {
                     Log.Error($"Reconnect fail, errorCode {errorCode}!");
                 }