about summary refs log tree commit diff stats
path: root/Archipelago
diff options
context:
space:
mode:
Diffstat (limited to 'Archipelago')
-rw-r--r--Archipelago/load.gd7
1 files changed, 6 insertions, 1 deletions
diff --git a/Archipelago/load.gd b/Archipelago/load.gd index 80f7d06..ea8eb5f 100644 --- a/Archipelago/load.gd +++ b/Archipelago/load.gd
@@ -33,7 +33,12 @@ func _load():
33 location.total = panels.size() 33 location.total = panels.size()
34 34
35 for panel in panels: 35 for panel in panels:
36 var that_panel = panels_parent.get_node(panel) 36 var that_panel
37 if panel.begins_with("EndPanel"):
38 that_panel = self.get_node("Decorations").get_node(panel)
39 else:
40 that_panel = panels_parent.get_node(panel)
41
37 that_panel.get_node("Viewport/GUI/Panel/TextEdit").connect( 42 that_panel.get_node("Viewport/GUI/Panel/TextEdit").connect(
38 "answer_correct", location, "handle_correct" 43 "answer_correct", location, "handle_correct"
39 ) 44 )