summaryrefslogtreecommitdiffstats
path: root/world/World.gd
diff options
context:
space:
mode:
Diffstat (limited to 'world/World.gd')
-rw-r--r--world/World.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/world/World.gd b/world/World.gd
index 04c3ef1..3afc4eb 100644
--- a/world/World.gd
+++ b/world/World.gd
@@ -12,12 +12,12 @@ onready var lod_distance = chunk_render_distance.get_node("Radius").shape.radius
onready var lod_mid = chunk_render_mid.get_node("Radius").shape.radius
onready var lod_close = chunk_render_close.get_node("Radius").shape.radius
-onready var chunk_half_size = $"Chunks/Chunk/Size".shape.radius
+onready var chunk_half_size = $"Chunk/Size".shape.radius
onready var chunk_size = chunk_half_size * 2.0
func _ready():
ChunkLoader.world = self
- ChunkGen.chunk_half_size = self.chunk_half_size
+ ChunkGen.setup_monuments()
func _on_ChunkRenderDistance_area_entered(area:Area):
if area.lod < area.LOD.DISTANCE: