From 45cc5ff5c8631e804300ed311f11ab326d869750 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Fri, 10 Nov 2023 16:43:27 -0500 Subject: Prevent crashing when hovering over LEVEL SECRET --- Archipelago/effects.gd | 4 ++-- 1 file 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): if not panel_input.visible: return - var ap_panel = panel_input.get_parent().get_parent().get_parent().get_parent().get_node( + var ap_panel = panel_input.get_parent().get_parent().get_parent().get_parent().get_node_or_null( "AP_Panel" ) - if not ap_panel.solvable: + if ap_panel == null or not ap_panel.solvable: return puzzle_focused = true -- cgit 1.4.1