guodong hace 3 años
padre
commit
2861d263be
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      GameClient/Assets/Game/HotUpdate/Views/Login/LoginView.cs

+ 5 - 1
GameClient/Assets/Game/HotUpdate/Views/Login/LoginView.cs

@@ -67,7 +67,11 @@ namespace GFGGame
 
             ServerInfo recentlyServerInfo = serverInfosComponent.recentlyServerInfo;
             UpdateServer(recentlyServerInfo);
-            OnClickBtnStart();
+            //尝试自动登录
+            if (serverInfosComponent.ServerInfoList.Count <= 0)
+            {
+                OnClickBtnStart();
+            }
         }
 
         protected override void OnHide()