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()