From 78bb8f508879ae0fdfec7b1970aa83bbce4c404e Mon Sep 17 00:00:00 2001 From: marcinzelent Date: Sat, 27 Apr 2019 12:25:51 +0200 Subject: Fixed level obstacle spawning --- nGJ2019/Assets/Scripts/ObstacleSpawner.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3