Main/System/Team/TeamBase.cs
@@ -252,6 +252,16 @@ tempHeroes[posNum] = hero; } // 布阵接口: 恢复阵容 public void RestoreTeam() { for (int i = 0; i < tempHeroes.Length; i++) { tempHeroes[i] = serverHeroes[i]; } } public void AddHero(HeroInfo heroInfo, int targetPosition) { if (targetPosition < 0 || targetPosition >= tempHeroes.Length)