From 76a11c5216c6996e0ab266b63cf3a424d6561ba1 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 18 三月 2026 14:47:43 +0800
Subject: [PATCH] 526 【挑战】PVP群英榜-后端(修复被挑战记录中没有对方ServerID问题;优化在榜上时已有匹配记录不包含自己名次时强制重刷匹配;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py
index 77755b5..24c2e93 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py
@@ -2476,6 +2476,8 @@
         import CrossMsg
         CrossMsg.SendToClientServer(ShareDefine.C2S_GMDebugAnswer, {"text":text}, [mainServerID], playerID)
         return
+    if hasattr(curPlayer, "GetPlayer"):
+        curPlayer = curPlayer.GetPlayer()
     DebugLog(text, playerID)
     text = text.decode(ShareDefine.Def_Game_Character_Encoding).encode(GetCharacterEncoding())
     curPlayer.DebugAnswer(text)

--
Gitblit v1.8.0