From f5794dc392d61a664668926e5edf06dbe06d4fc9 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期三, 12 十一月 2025 11:24:21 +0800
Subject: [PATCH] 262 优化修复切换服务器报错

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

diff --git a/Main/System/Battle/BattleManager.cs b/Main/System/Battle/BattleManager.cs
index 211140e..64c81a5 100644
--- a/Main/System/Battle/BattleManager.cs
+++ b/Main/System/Battle/BattleManager.cs
@@ -663,15 +663,12 @@
 
     public void DestroyAllBattleField()
     {
-        // 鍒涘缓鍓湰杩涜閬嶅巻锛岄伩鍏嶅湪閬嶅巻鏃朵慨鏀瑰師闆嗗悎
         var battleFieldsList = battleFields.Values.ToList();
-
         foreach (var battleField in battleFieldsList)
         {
             if (battleField == null)
                 continue;
-
-            DestroyBattleField(battleField);
+            battleField.Destroy();
         }
     }
 

--
Gitblit v1.8.0