From 8f7a29d699d30c14695a1a47a6fb70f45f9f4177 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 17 十月 2024 16:50:18 +0800
Subject: [PATCH] 10263 【越南】【英文】后端支持NPC仿真实玩家战斗和快速战斗

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ClearPlayerMirror.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ClearPlayerMirror.py
index 8dafd9d..ad1119e 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ClearPlayerMirror.py
+++ b/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()
\ No newline at end of file
+        PlayerControl.DeleteMirror(mirrorPlayer)
+        
+    return

--
Gitblit v1.8.0