summaryrefslogtreecommitdiffstats
path: root/world/World.gd
diff options
context:
space:
mode:
Diffstat (limited to 'world/World.gd')
-rw-r--r--world/World.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/world/World.gd b/world/World.gd
index af2ba6a..2c8d822 100644
--- a/world/World.gd
+++ b/world/World.gd
@@ -33,7 +33,7 @@ func _on_ChunkRenderClose_area_entered(area:Area):
area.lod_update()
func _on_ChunkRenderDistance_area_exited(area:Area):
- area.queue_free()
+ ChunkLoader.free_chunk(chunk_coords(v2_coords(area.transform.origin)))
func _on_ChunkRenderMid_area_exited(area:Area):
area.lod = area.LOD.DISTANCE