From 3dd9789a269c121b2f6490aa1845fd2a192be370 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 15 四月 2019 16:35:21 +0800
Subject: [PATCH] 6459 【后端】【2.0】缥缈仙域开发单(进入动态分布线路的跨服地图分配规则优化,功能对应虚拟线路支持人数控制分流)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldProcess.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldProcess.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldProcess.py
index 9143a93..fa0def1 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldProcess.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldProcess.py
@@ -172,7 +172,10 @@
     FreeOrClearFBByAutoSize(gameWorld)
     
     if gameWorld.GetMapID() in ChConfig.Def_CrossDynamicLineMap:
-        msgInfo = str([gameWorld.GetRealMapID(), gameWorld.GetCopyMapID()])
+        realMapID, copyMapID = gameWorld.GetRealMapID(), gameWorld.GetCopyMapID()
+        key = (mapID, copyMapID)
+        funcLineDataCache = PyGameData.g_crossFuncLineDataCache.pop(key, None)
+        msgInfo = str([realMapID, copyMapID, funcLineDataCache])
         GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(0, 0, 0, "DynamicLineMapClose", msgInfo, len(msgInfo))
     return
 

--
Gitblit v1.8.0