diff --git a/theProject/Assets/Scripts/Entities/Soldier.cs b/theProject/Assets/Scripts/Entities/Soldier.cs index b43c7af4..4ae2ced0 100644 --- a/theProject/Assets/Scripts/Entities/Soldier.cs +++ b/theProject/Assets/Scripts/Entities/Soldier.cs @@ -100,8 +100,6 @@ public class Soldier : Entity enemiesList.Add(obj); } - Debug.Log(soldiers.Length); - Debug.Log(enemiesList.Count); Entity[] enemies = enemiesList.ToArray(); // We have not found enemy yet so the distance to enemy is "infinite" diff --git a/theProject/Assets/Scripts/Managers/SquadManager.cs b/theProject/Assets/Scripts/Managers/SquadManager.cs index 57135759..9a31f1db 100644 --- a/theProject/Assets/Scripts/Managers/SquadManager.cs +++ b/theProject/Assets/Scripts/Managers/SquadManager.cs @@ -10,8 +10,6 @@ public class SquadManager : MonoBehaviour Squad enemySquad; private void Awake() { - - enemySquad = Instantiate(squadPrefab).GetComponent(); enemySquad.gameObject.name = "Enemy Squad"; enemySquad.transform.SetParent(transform);