From 06000a31bd6d8f35635aa93f883e37c3af69d23a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 01 七月 2022 14:55:26 +0800
Subject: [PATCH] 1111 【主干】【bt7】【yn_1.0.1】【yn_ver1】 切图封包A126 A127通知dataMapID

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
index 2da4e6c..ee57059 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
@@ -2218,7 +2218,7 @@
     curPlayer.SetVisible(False)
     sendPack = ChPyNetSendPack.tagMCPrepareChangeMap()
     sendPack.Clear()
-    sendPack.MapID = sceneMapID
+    sendPack.MapID = GameWorld.GetMapDataMapID(sceneMapID)
     sendPack.FuncLineID = funcLineID
     
     NetPackCommon.SendFakePack(curPlayer, sendPack)
@@ -2229,7 +2229,7 @@
 def NotifyStartChangeMap(curPlayer):
     sendPack = ChPyNetSendPack.tagMCStartChangeMap()
     sendPack.Clear()
-    sendPack.MapID = curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_ChangeMapID)
+    sendPack.MapID = GameWorld.GetMapDataMapID(curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_ChangeMapID))
     sendPack.FuncLineID = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_ReqFBFuncLine)
     NetPackCommon.SendFakePack(curPlayer, sendPack)
     

--
Gitblit v1.8.0