From ca4de46e0beb47d7ec1dfa3817f59e2ba885bf76 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 16 十一月 2020 19:52:47 +0800
Subject: [PATCH] 4862 【主干】【长尾】【BT】宝箱支持部分拍品、非拍品配置

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ExitFB.py |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ExitFB.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ExitFB.py
index 3789b02..25bb7fe 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ExitFB.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ExitFB.py
@@ -17,6 +17,8 @@
 
 import GameWorld
 import ChPlayer
+import PlayerControl
+import PlayerFB
 
 ## GM命令执行入口
 #  @param curPlayer 当前玩家
@@ -25,6 +27,11 @@
 #  @remarks 函数详细说明.
 def OnExec(curPlayer, paramList):
     tick = GameWorld.GetGameWorld().GetTick()
+    
+    if PlayerControl.GetCustomMapID(curPlayer):
+        PlayerFB.DoExitCustomScene(curPlayer)
+        return
+    
     isAll = paramList[0] if paramList else 0
     if isAll:
         copyMapPlayerManager = GameWorld.GetMapCopyPlayerManager()

--
Gitblit v1.8.0