From a6fb3fc9fdf49158dc86870d99f113460d66b9b6 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 28 十二月 2020 10:38:00 +0800
Subject: [PATCH] 8681 【BT】【主干】【后端】宝箱展示支持多连开

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/EnterFB.py |    7 ++++++-
 1 files changed, 6 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 a228fff..107a2e5 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
@@ -19,6 +19,7 @@
 import PlayerControl
 import FBCommon
 import ChConfig
+import PlayerFB
 
 
 ## GM命令执行入口
@@ -37,7 +38,11 @@
     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)
-    if mapID in ChConfig.Def_CrossMapIDList:
+        
+    tick = GameWorld.GetGameWorld().GetTick()
+    if mapID in ChConfig.ClientCustomScene:
+        PlayerFB.DoEnterCustomScene(curPlayer, mapID, lineID, tick)
+    elif mapID in ChConfig.Def_CrossMapIDList:
         PlayerControl.PlayerEnterCrossServer(curPlayer, mapID, lineID)
     else:
         PlayerControl.PlayerEnterFB(curPlayer, mapID, lineID, posX, posY)

--
Gitblit v1.8.0