ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ClearPlayerMirror.py
@@ -6,6 +6,7 @@ import GameWorld import PlayerControl ## GM命令执行入口 # @param curPlayer 当前玩家 @@ -20,7 +21,7 @@ if playerID != 0: mirrorPlayer = GameWorld.GetPlayerManager().FindPlayerByID(playerID) if mirrorPlayer: mirrorPlayer.DeleteMirror() PlayerControl.DeleteMirror(mirrorPlayer) return ids = [] @@ -36,4 +37,6 @@ mirrorPlayer = playerManager.FindPlayerByID(id) if not mirrorPlayer: continue mirrorPlayer.DeleteMirror() PlayerControl.DeleteMirror(mirrorPlayer) return