mirror of
https://github.com/Relintai/broken_seals.git
synced 2025-03-05 03:43:10 +01:00
Fix editor world generation.
This commit is contained in:
parent
dceba985b4
commit
76265b54a8
@ -1,3 +1,4 @@
|
|||||||
|
tool
|
||||||
extends Biome
|
extends Biome
|
||||||
|
|
||||||
# Copyright (c) 2019-2020 Péter Magyar
|
# Copyright (c) 2019-2020 Péter Magyar
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
tool
|
||||||
extends Dungeon
|
extends Dungeon
|
||||||
|
|
||||||
export (EntityData) var trainer : EntityData
|
export (EntityData) var trainer : EntityData
|
||||||
|
@ -49,6 +49,7 @@ func setup(world : VoxelWorld, level_seed : int, spawn_mobs : bool, library: Vox
|
|||||||
# create_planet()
|
# create_planet()
|
||||||
|
|
||||||
func _generate_chunk(chunk : VoxelChunk) -> void:
|
func _generate_chunk(chunk : VoxelChunk) -> void:
|
||||||
|
|
||||||
if _planet == null:
|
if _planet == null:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user