| Main/Main.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Main/System/Battle/BattleManager.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Main/Main.cs
@@ -113,6 +113,8 @@ // 前面有重新InitManagers了 这里就不在做清除 // ReleaseMgrs(); ClearGameData(); //销毁所有战场 BattleManager.Instance.DestroyAllBattleField(); } private static void ReleaseMgrs() Main/System/Battle/BattleManager.cs
@@ -652,4 +652,16 @@ } return null; } public void DestroyAllBattleField() { foreach (var kvp in battleFields) { BattleField battleField = kvp.Value; if (battleField == null) continue; DestroyBattleField(battleField); } } }