diff --git a/Assets/Scripts/Logic/Data/World/WorldGenerator.cs b/Assets/Scripts/Logic/Data/World/WorldGenerator.cs index 148a03a73ebf713001a3d70ecd52bcb655df612a..bcaafe268fe5cd1564359e83d727b6bda9f70dd3 100644 --- a/Assets/Scripts/Logic/Data/World/WorldGenerator.cs +++ b/Assets/Scripts/Logic/Data/World/WorldGenerator.cs @@ -90,7 +90,7 @@ internal class WorldGenerator { } } - if (i == 0) { + if (i == 0 && _generateObstacles) { List<int> goodIndices = new List<int>(); for (int j = 0; j < _width; j++) { tp = new TilePosition(_height / 2, _width);