From ffa8a645ed6a92a3c723bbf5c7f1eb4d5425c826 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 17 十一月 2021 15:15:34 +0800
Subject: [PATCH] 9341 【BT5】【主干】【后端】情缘系统(优化情缘系统)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py
index 0b2cd6f..23cc1ca 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py
@@ -1350,10 +1350,7 @@
         if key == ShareDefine.Def_Notify_WorldKey_CoupleInfo:
             syncCoupleInfo = eval(msgValue)
             for playerID, coupleInfo in syncCoupleInfo.items():
-                if not coupleInfo:
-                    PyGameData.g_coupleInfo.pop(playerID, None)
-                else:
-                    PyGameData.g_coupleInfo[playerID] = coupleInfo
+                PlayerControl.SetCoupleInfo(playerID, coupleInfo)
             return
         
         if key.startswith(ShareDefine.Def_Notify_WorldKey_OperationActionInfo[:-2]): 

--
Gitblit v1.8.0