From d037267bed73b7fcdc691697bec96cf3e9329867 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期一, 26 十一月 2018 21:24:52 +0800
Subject: [PATCH] 5038 【1.3】4G环境下,地图分包下载显示优化

---
 System/WorldMap/MapModel.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/System/WorldMap/MapModel.cs b/System/WorldMap/MapModel.cs
index 374e21a..f5cabac 100644
--- a/System/WorldMap/MapModel.cs
+++ b/System/WorldMap/MapModel.cs
@@ -12,7 +12,7 @@
 {
 
     [XLua.LuaCallCSharp]
-	public class MapModel : Model, IBeforePlayerDataInitialize, IAfterPlayerDataInitialize, IPlayerLoginOk, IMapInitOk
+    public class MapModel : Model, IBeforePlayerDataInitialize, IAfterPlayerDataInitialize, IPlayerLoginOk, IMapInitOk
     {
         Dictionary<int, WorldMapArea> worldMapAreas = new Dictionary<int, WorldMapArea>();
         Dictionary<int, bool> worldMapUnLockStates = new Dictionary<int, bool>();
@@ -124,6 +124,7 @@
                 return;
             }
 
+            InGameDownLoad.Instance.UnRegisterMapAssetDownLoadOk();
             var map = Config.Instance.Get<MapConfig>(_mapId);
             var position = new Vector3(map.BornPoints[0].x, 0, map.BornPoints[0].y);
             MapTransferUtility.Send_WorldTransfer(_mapId, position, MapTransferType.WorldTransport, (byte)_lineId, 0);

--
Gitblit v1.8.0