level bounds now don't error out on save/quit
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user