about summary refs log tree commit diff stats
path: root/Archipelago
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-03-25 20:54:03 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-03-25 20:54:03 -0400
commit13271d4b8f66488a55be256e44a118ff8fff1ec1 (patch)
treec1be5f444a7e1c76375f268744f0047cfe5cb178 /Archipelago
parent37be40c8129ccaa3cd26629c383f1d9d03523366 (diff)
downloadlingo-archipelago-13271d4b8f66488a55be256e44a118ff8fff1ec1.tar.gz
lingo-archipelago-13271d4b8f66488a55be256e44a118ff8fff1ec1.tar.bz2
lingo-archipelago-13271d4b8f66488a55be256e44a118ff8fff1ec1.zip
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.
Diffstat (limited to 'Archipelago')
-rw-r--r--Archipelago/load.gd2
1 files changed, 1 insertions, 1 deletions
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():
64 wanderer_entrance.rotation = Vector3(0, -PI / 2, 0) 64 wanderer_entrance.rotation = Vector3(0, -PI / 2, 0)
65 wanderer_entrance.scale = Vector3(1, 1.5, 1) 65 wanderer_entrance.scale = Vector3(1, 1.5, 1)
66 wanderer_entrance.set_script(door_script) 66 wanderer_entrance.set_script(door_script)
67 wanderer_entrance.panels.append("../../../Panels/Tower Room/Panel_wanderlust_1234567890") 67 wanderer_entrance.panels = ["../../../Panels/Tower Room/Panel_wanderlust_1234567890"]
68 get_node("Doors/Tower Room Area Doors").add_child(wanderer_entrance) 68 get_node("Doors/Tower Room Area Doors").add_child(wanderer_entrance)
69 69
70 var wanderer_achieve = get_node("Panels/Tower Room/Panel_1234567890_wanderlust") 70 var wanderer_achieve = get_node("Panels/Tower Room/Panel_1234567890_wanderlust")