Move files and folders to new repo format to enable multi-project format
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
extends Node
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
$"../..".connect("dungeon_done_generating", remove_unused_doors)
|
||||
|
||||
func remove_unused_doors():
|
||||
for door in $"../..".get_doors():
|
||||
if door.get_room_leads_to() == null:
|
||||
door.door_node.queue_free()
|
||||
Reference in New Issue
Block a user