From 4887204a7c9e10bafdd64c5186f1ff9e61b53055 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 06 十二月 2023 10:13:16 +0800
Subject: [PATCH] 9811 【BT9】【后端】逐鹿万界(优化flagOwner同步)

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossFamilyFlagwar.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossFamilyFlagwar.py
index f7a515f..e6d8024 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossFamilyFlagwar.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossFamilyFlagwar.py
@@ -151,7 +151,7 @@
         flagOwner = self.worldHelpDict.get("flagOwner", {})
         for npcIDStr, playerInfo in flagOwner.items():
             if playerID == playerInfo[0]:
-                flagOwner.pop(npcIDStr, None)
+                flagOwner[npcIDStr] = [0, "", "", 0]
                 break
         self.worldHelpDict["flagOwner"] = flagOwner
         return

--
Gitblit v1.8.0