From 6ccc82cff0bc5ecd2734253d4c5ef1ae2bb748da Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 17 九月 2020 12:24:13 +0800
Subject: [PATCH] 8483 【后端】【主干】【changwei】【bt】协助方和被协助方任何模式不会互相造成伤害(优化协助同一玩家的情况)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_UnBind.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_UnBind.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_UnBind.py
index 5e22874..5c9647e 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_UnBind.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_Offline_UnBind.py
@@ -16,6 +16,7 @@
 #---------------------------------------------------------------------
 import GameWorld
 import IPY_GameWorld
+import PlayerControl
 #---------------------------------------------------------------------
 #全局变量
 #---------------------------------------------------------------------
@@ -54,7 +55,7 @@
         if curOper.GetOper() == IPY_GameWorld.pysForbidden:
             curFindPlayer_GMOper.DeleteOper(IPY_GameWorld.pysForbidden)
             curFindPlayer_GMOper.Sync_SaveToDB()
-            curFindPlayer.SetAccState(IPY_GameWorld.pysNormal)
+            PlayerControl.SetPlayerAccState(curFindPlayer, IPY_GameWorld.pysNormal)
             return '%s,%s'%(curFindPlayer.GetPlayerID(), curFindPlayer.GetName())
         
     GameWorld.Log('###脱机工具解封异常 : 玩家 = %s查找解封信息失败'%(curFindPlayer.GetPlayerID()))       

--
Gitblit v1.8.0