aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'nGJ2019/Assets/Scripts')
-rw-r--r--nGJ2019/Assets/Scripts/ObstacleSpawner.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/nGJ2019/Assets/Scripts/ObstacleSpawner.cs b/nGJ2019/Assets/Scripts/ObstacleSpawner.cs
index 58c0ebb..102df97 100644
--- a/nGJ2019/Assets/Scripts/ObstacleSpawner.cs
+++ b/nGJ2019/Assets/Scripts/ObstacleSpawner.cs
@@ -30,7 +30,7 @@ public class ObstacleSpawner : MonoBehaviour
{
for(int i = 0; i < 120; i += 5)
{
- timeline.Add(i, 0, EventTimeline.SpawnEventType.alfa);
+ timeline.Add(i, 0, ObstacleType.alfa);
}
timeline.OnSpawnEvent += spawnOnEvent;