diff --git a/Platformer_001/Assets/Scripts/Endlosmodus/Endlosmodus.cs b/Platformer_001/Assets/Scripts/Endlosmodus/Endlosmodus.cs index cd9ea22..d7a9812 100644 --- a/Platformer_001/Assets/Scripts/Endlosmodus/Endlosmodus.cs +++ b/Platformer_001/Assets/Scripts/Endlosmodus/Endlosmodus.cs @@ -34,6 +34,7 @@ public class Endlosmodus : MonoBehaviour { void Start () { spawnedTiles = new List(); spawnedTilesGround = new List (); + spawnedTilesGround.Add(Instantiate(Instantiate (ground, new Vector3 (-100,-100 , 0), new Quaternion ()))); for (int i = 1; i <= 20; i = i + 2) { lastX = i - 10; GameObject tile = Instantiate (grass, new Vector3 (i - 10, 0, 0), new Quaternion ());