resolution d'un bug

entités
Valentin Stark 3 years ago
parent 39e588fa27
commit 7225c44bd8
  1. 2
      utils/world_generation/WorldGeneration.gd
  2. 2
      world/World3d.gd

@ -272,7 +272,7 @@ func fill_oceans():
stack.append(first_center.get_index())
while stack.size():
var current_point_id = stack.pop_front()
var current_point_id = stack.pop_back()
Global.terrain.get_point(current_point_id).set_data("ocean", true)
for neighbour in Global.terrain.get_point(current_point_id).points_around():
if neighbour.get_data("water") and not neighbour.get_data("ocean"):

@ -10,7 +10,7 @@ var thread
func _ready():
# add_world()
thread = Thread.new()
add_trees()
# add_trees()
func add_world():
var terrain_mesh = TerrainMesh.new()

Loading…
Cancel
Save