From 01297d40ef07d9716fe0f957bea46f6c04a50ef5 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 30 十二月 2025 10:35:05 +0800
Subject: [PATCH] 121 【武将】武将系统-服务端(修复未勾选心愿卡时免费次数不生效的bug;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py |    2 +-
 1 files changed, 1 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 d8d748e..d9c6372 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py
@@ -93,7 +93,7 @@
     PlayerBillboard.UpdatePlayerBillboardName(curPlayer)
     #社交名待更新
     
-    PlayerTask.AddTaskValue(curPlayer, ChConfig.TaskType_Rename, 1)
+    PlayerTask.UpdTaskValue(curPlayer, ChConfig.TaskType_Rename)
     return
 
 def GetPlayerFullName(curPlayer, playerName):

--
Gitblit v1.8.0