about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-11-10 16:43:27 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2023-11-10 16:43:27 -0500
commit45cc5ff5c8631e804300ed311f11ab326d869750 (patch)
tree85f30ac5be3b4641e7720b747a818549836f1468
parent933af93c0935806e84f3a685c079279b7c2734d0 (diff)
downloadlingo-archipelago-45cc5ff5c8631e804300ed311f11ab326d869750.tar.gz
lingo-archipelago-45cc5ff5c8631e804300ed311f11ab326d869750.tar.bz2
lingo-archipelago-45cc5ff5c8631e804300ed311f11ab326d869750.zip
Prevent crashing when hovering over LEVEL SECRET
-rw-r--r--Archipelago/effects.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/Archipelago/effects.gd b/Archipelago/effects.gd index a7cbf65..5c3efe2 100644 --- a/Archipelago/effects.gd +++ b/Archipelago/effects.gd
@@ -99,10 +99,10 @@ func show_puzzle_skip_message(node_path):
99 if not panel_input.visible: 99 if not panel_input.visible:
100 return 100 return
101 101
102 var ap_panel = panel_input.get_parent().get_parent().get_parent().get_parent().get_node( 102 var ap_panel = panel_input.get_parent().get_parent().get_parent().get_parent().get_node_or_null(
103 "AP_Panel" 103 "AP_Panel"
104 ) 104 )
105 if not ap_panel.solvable: 105 if ap_panel == null or not ap_panel.solvable:
106 return 106 return
107 107
108 puzzle_focused = true 108 puzzle_focused = true