diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-03-25 20:54:03 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-03-29 10:19:21 -0400 |
commit | 87e7f851179cb0fcef75a2c433fdc1e6234f409b (patch) | |
tree | 3093d18c64d7477c0c8f12a59c561d7784aa0f65 /Archipelago/load.gd | |
parent | 61790818f6779c9e272dc74feab888b73ed5312c (diff) | |
download | lingo-archipelago-87e7f851179cb0fcef75a2c433fdc1e6234f409b.tar.gz lingo-archipelago-87e7f851179cb0fcef75a2c433fdc1e6234f409b.tar.bz2 lingo-archipelago-87e7f851179cb0fcef75a2c433fdc1e6234f409b.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/load.gd')
-rw-r--r-- | Archipelago/load.gd | 2 |
1 files changed, 1 insertions, 1 deletions
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(): | |||
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") |