From 9fbde9c25ee0707379ef7bd7a1b8d4a2e9531437 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Fri, 29 Sep 2017 17:27:14 +0200 Subject: Small workaround for where the enemy catches player --- td/Assets/Scripts/EnemySpawner.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'td/Assets/Scripts/EnemySpawner.cs') diff --git a/td/Assets/Scripts/EnemySpawner.cs b/td/Assets/Scripts/EnemySpawner.cs index f1eeb84..df82b34 100644 --- a/td/Assets/Scripts/EnemySpawner.cs +++ b/td/Assets/Scripts/EnemySpawner.cs @@ -7,9 +7,8 @@ public class EnemySpawner : MonoBehaviour { public Enemy enemyPrefab; public Transform pathWay; public Transform gameWorld; - List waypoints = new List(); - int wave; + List waypoints = new List(); int next = 1; int n = 0; -- cgit v1.2.3