yyl
12 小时以前 71365e5c15d81759c04d7aab953fa757fb183f9b
Main/System/Battle/BattleManager.cs
@@ -2,6 +2,7 @@
using UnityEngine;
using LitJson;
using System;
using System.Linq;
public class BattleManager : GameSystemManager<BattleManager>
{
@@ -662,13 +663,13 @@
    public void DestroyAllBattleField()
    {
        foreach (var kvp in battleFields)
        var battleFieldsList = battleFields.Values.ToList();
        foreach (var battleField in battleFieldsList)
        {
            BattleField battleField = kvp.Value;
            if (battleField == null)
                continue;
            DestroyBattleField(battleField);
            battleField.Destroy();
        }
    }
}