diff options
-rw-r--r-- | Archipelago/effects.gd | 4 |
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 |