From 3c44642eff8fa4dd30831f0f351de2f0d050f53a Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 14 一月 2026 18:03:50 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 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