From 71c3e459965f5442ca704eec64451316910f1732 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 17 十二月 2025 12:05:14 +0800
Subject: [PATCH] Merge branch 'master' of http://mobile.secondworld.net.cn:10010/r/Project_SG_scripts

---
 Main/System/Battle/BattleManager.cs |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/Main/System/Battle/BattleManager.cs b/Main/System/Battle/BattleManager.cs
index cb7df74..921999b 100644
--- a/Main/System/Battle/BattleManager.cs
+++ b/Main/System/Battle/BattleManager.cs
@@ -346,6 +346,7 @@
 
                 PackageRegedit.Distribute(pack);
             }
+            return true;
         }
         catch (Exception ex)
         {
@@ -355,10 +356,8 @@
             {
                 packQueue.Dequeue();
             }
-            return false;
+            return packQueue.Count > 0;
         }
-
-        return packQueue.Count > 0;
     }
 
     public void OnConnected()

--
Gitblit v1.8.0