From ccfd713e99081322e68bc8c2f3f1ea02f0df52eb Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 02 一月 2020 14:11:11 +0800
Subject: [PATCH] 8358 【主干】【后端】坐骑修改(修复bug)
---
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