Fix editor world generation.

This commit is contained in:
Relintai 2021-03-22 23:41:58 +01:00
parent dceba985b4
commit 76265b54a8
3 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,4 @@
tool
extends Biome
# Copyright (c) 2019-2020 Péter Magyar

View File

@ -1,3 +1,4 @@
tool
extends Dungeon
export (EntityData) var trainer : EntityData

View File

@ -49,6 +49,7 @@ func setup(world : VoxelWorld, level_seed : int, spawn_mobs : bool, library: Vox
# create_planet()
func _generate_chunk(chunk : VoxelChunk) -> void:
if _planet == null:
return