From 2092395a56aff398f6f5a3e0aa650ca053cb1925 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期五, 05 七月 2019 17:37:22 +0800
Subject: [PATCH] 7678 【主干】【后端】灵器系统(穿灵器修改)

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/EnterFB.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/EnterFB.py
index 511fd18..a228fff 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/EnterFB.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/EnterFB.py
@@ -37,6 +37,9 @@
     posY = paramList[3] if len(paramList) > 3 else 0
     if FBCommon.GetFBPDictValue(curPlayer, ChConfig.Def_PDict_LastEnterFBTick % mapID):
         FBCommon.SetFBPDictValue(curPlayer, ChConfig.Def_PDict_LastEnterFBTick % mapID, 0)
-    PlayerControl.PlayerEnterFB(curPlayer, mapID, lineID, posX, posY)
+    if mapID in ChConfig.Def_CrossMapIDList:
+        PlayerControl.PlayerEnterCrossServer(curPlayer, mapID, lineID)
+    else:
+        PlayerControl.PlayerEnterFB(curPlayer, mapID, lineID, posX, posY)
     return
 

--
Gitblit v1.8.0