diff options
author | marcinzelent <zelent.marcin@gmail.com> | 2019-04-27 12:25:51 +0200 |
---|---|---|
committer | marcinzelent <zelent.marcin@gmail.com> | 2019-04-27 12:25:51 +0200 |
commit | 78bb8f508879ae0fdfec7b1970aa83bbce4c404e (patch) | |
tree | ea6d50fe7cb062924a2c821c36e15ba920e9eaae /nGJ2019/Assets/Scripts | |
parent | b91f71896693ec1525c2a31b42278e32ba901a06 (diff) |
Fixed level obstacle spawning
Diffstat (limited to 'nGJ2019/Assets/Scripts')
-rw-r--r-- | nGJ2019/Assets/Scripts/ObstacleSpawner.cs | 2 |
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; |