From 13271d4b8f66488a55be256e44a118ff8fff1ec1 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 25 Mar 2024 20:54:03 -0400 Subject: Fix Wanderer entrance door on reload Turns out when you instantiate scripts with exported reference fields, you have to create new values for those fields because otherwise they use a shared value like idk man it's weird. --- Archipelago/load.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Archipelago') diff --git a/Archipelago/load.gd b/Archipelago/load.gd index 207550b..3e11b8b 100644 --- a/Archipelago/load.gd +++ b/Archipelago/load.gd @@ -64,7 +64,7 @@ func _load(): wanderer_entrance.rotation = Vector3(0, -PI / 2, 0) wanderer_entrance.scale = Vector3(1, 1.5, 1) wanderer_entrance.set_script(door_script) - wanderer_entrance.panels.append("../../../Panels/Tower Room/Panel_wanderlust_1234567890") + wanderer_entrance.panels = ["../../../Panels/Tower Room/Panel_wanderlust_1234567890"] get_node("Doors/Tower Room Area Doors").add_child(wanderer_entrance) var wanderer_achieve = get_node("Panels/Tower Room/Panel_1234567890_wanderlust") -- cgit 1.4.1