From 95068f026a8f39d98fc630c0c648651916f12723 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 14 一月 2026 16:35:04 +0800
Subject: [PATCH] 0312 修复过天期间断线重连,砍价未清理问题

---
 Main/System/Guild/GuildManager.cs |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/Main/System/Guild/GuildManager.cs b/Main/System/Guild/GuildManager.cs
index 8702a5f..2770d30 100644
--- a/Main/System/Guild/GuildManager.cs
+++ b/Main/System/Guild/GuildManager.cs
@@ -860,8 +860,14 @@
             return false;
         }
         bool restart = false;
-        if (vNetData.FamilyActionList.Length == 1 && vNetData.FamilyActionList[0].Value1 == 1)
+        
+        for (int i = 0; i < vNetData.FamilyActionList.Length; i++)
         {
+            int playerID = (int)vNetData.FamilyActionList[i].Value1;
+            if (playerID != 1)
+            {
+                continue;
+            }
             if (familyZBGActions.ContainsKey(1) && familyZBGActions[1].Time != vNetData.FamilyActionList[0].Time)
             {
                 familyZBGActions.Clear();
@@ -870,6 +876,7 @@
             }
         }
 
+
         for (int i = 0; i < vNetData.FamilyActionList.Length; i++)
         {
             int playerID = (int)vNetData.FamilyActionList[i].Value1;

--
Gitblit v1.8.0