From a296ea45548bf475b113842b60d604762a8af266 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 26 二月 2025 17:56:07 +0800
Subject: [PATCH] 10385 【越南】【英语】【BT】【GM】【砍树】福地新增鼠管及优化-服务端(优化结算奖励逻辑;)

---
 ServerPython/CoreServerGroup/GameServer/Script/Player/UpdatePlayerName.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/UpdatePlayerName.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/UpdatePlayerName.py
index f8bc598..bb8be03 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/UpdatePlayerName.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/UpdatePlayerName.py
@@ -156,7 +156,6 @@
     #改名成功
     UpdatePlayerNameResult(curPlayer, ShareDefine.Def_Rename_Result_Succeed)
     
-    PlayerSocial.UpdateSocialInfo(curPlayer, IPY_GameServer.CDBPlayerRefresh_PlayerName, newName)
     #流向记录
     DataRecordPack.DR_UpdatePlayerName(curPlayer, oldPlayerName)
     
@@ -230,6 +229,8 @@
         #修改家族信息
         RedressFamily(curPlayer)
         
+        #纠正社交中玩家名字
+        PlayerSocial.UpdateSocialInfo(curPlayer.GetID(), IPY_GameServer.CDBPlayerRefresh_PlayerName, curPlayer.GetName())
         
     #删除通用表记录的改名信息
     #@warning: 必须在纠正排行后, 因为纠正宠物排行榜有用到玩家改名前的旧名字

--
Gitblit v1.8.0