From 87e7f851179cb0fcef75a2c433fdc1e6234f409b 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/load.gd') diff --git a/Archipelago/load.gd b/Archipelago/load.gd index a277817..09c357c 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