diff --git a/world/game.gd b/world/game.gd index d29d96e..d69cd87 100644 --- a/world/game.gd +++ b/world/game.gd @@ -22,7 +22,6 @@ func _ready(): rng.randomize() noise.seed = rng.randi() noise.octaves = octaves - # terrain = Terrain.new(width,height,spacing,false) var terrain_name="bonjourazeazea" terrain = Terrain.new() @@ -203,13 +202,4 @@ func add_trees(): if num == 1: var tree = treescene.instance() tree.translation = Vector3(point.point3d() * Vector3(1, 24*5, 1)) - add_child(tree) - - # for point in points.size(): - # if points_data[i].elevation > 0: - # var num = rng.randi_range(0, 20) - # if num == 2: - # var tree = treescene.instance() - # tree.translation = Vector3(points[i].x, points_data[i].elevation * terrace_height, points[i].y) - - # add_child(tree) + add_child(tree) \ No newline at end of file