level bounds now don't error out on save/quit

This commit is contained in:
Derek
2025-04-04 08:21:46 -05:00
parent 32b9efbd92
commit 6cd06193b5
6 changed files with 22 additions and 14 deletions

View File

@@ -21,6 +21,9 @@ func _on_body_entered(body: Node3D) -> void:
scene_holder.add_child(scene)
scene.global_position = global_position + SCENE_SPAWN_OFFSET
var level_control = get_tree().current_scene
level_control.spawn_crown()
entered = true
if active and entered:
var spawned_stuff = scene_holder.get_children()