Core/NetworkPackage/DTCFile/ServerPack/H01_System/DTC0109_tagServerPrepareOK.cs
@@ -32,12 +32,15 @@ switch (vNetData.socketType) { case GameNetSystem.SocketType.Main: if (loginModel.reconnectBackGround || StageManager.Instance.socketType != GameNetSystem.SocketType.Main) if (loginModel.reconnectBackGround || StageManager.Instance.socketType != GameNetSystem.SocketType.Main || DTCA127_tagMCStartChangeMap.isChangeLine) { var mapOk = new C0107_tagCInitMapOK(); mapOk.MapID = PlayerDatas.Instance.baseData.MapID; mapOk.Type = 0; GameNetSystem.Instance.SendInfo(mapOk); DTCA127_tagMCStartChangeMap.isChangeLine = false; } break; case GameNetSystem.SocketType.CrossSever: Core/NetworkPackage/DTCFile/ServerPack/HA1_Sys/DTCA127_tagMCStartChangeMap.cs
@@ -17,6 +17,7 @@ public static readonly Dictionary<int, int> mapIdDict = new Dictionary<int, int>(); public static int LineID = 0; public static bool isChangeLine = false; public static MapResourcesConfig GetMapResourcesConfig() { @@ -137,7 +138,9 @@ #if UNITY_EDITOR Debug.LogFormat("DTCA127_tagMCStartChangeMap出现加载相同地图行为:" + _mapResConfig.ID); #endif GA_Hero.s_MapSwitching = false; isChangeLine = true; return; }