From 356afb501ebec9b0241c1f8e2de91efd6022c99c Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期二, 25 十二月 2018 16:13:50 +0800
Subject: [PATCH] 5372 【后端】【1.4】聚魂副本开发(速度通知修改)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py
index 0602621..8e201d7 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py
@@ -146,7 +146,8 @@
newName = sendPack.GetNewName()
curPlayer.SetPlayerName(newName)
-
+ GameWorld.GetPlayerManager().UpdatePlayerNameIndex(curPlayerName, newName)
+ GameWorld.GetMapCopyPlayerManager().UpdatePlayerNameIndex(curPlayerName, newName)
#EventReport.WriteEvent_change_name(curPlayer, curPlayerName, newName)
GameWorld.Log("UpdatePlayerName MapServer改名成功, newName = %s"%newName, curPlayer.GetID())
--
Gitblit v1.8.0