diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-27 11:36:08 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-05-27 11:36:08 -0400 |
commit | 867d8cf1bb1610663742c31ef7eb0d9550f2b53e (patch) | |
tree | 550fca0d95e19b077de5e54d313444b79780a460 | |
parent | 39b55476e6ae8a43c807476348351bb1509b26e2 (diff) | |
download | lingo-archipelago-867d8cf1bb1610663742c31ef7eb0d9550f2b53e.tar.gz lingo-archipelago-867d8cf1bb1610663742c31ef7eb0d9550f2b53e.tar.bz2 lingo-archipelago-867d8cf1bb1610663742c31ef7eb0d9550f2b53e.zip |
Suppress "AP_Paintings not found" error when no painting shuffle
-rw-r--r-- | Archipelago/client.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Archipelago/client.gd b/Archipelago/client.gd index 8fe55cd..f5d2110 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd | |||
@@ -579,7 +579,7 @@ func processItem(item, index, from, flags): | |||
579 | 579 | ||
580 | if _painting_ids_by_item.has(stringified): | 580 | if _painting_ids_by_item.has(stringified): |
581 | var real_parent_node = get_tree().get_root().get_node("Spatial/Decorations/Paintings") | 581 | var real_parent_node = get_tree().get_root().get_node("Spatial/Decorations/Paintings") |
582 | var fake_parent_node = get_tree().get_root().get_node("Spatial/AP_Paintings") | 582 | var fake_parent_node = get_tree().get_root().get_node_or_null("Spatial/AP_Paintings") |
583 | 583 | ||
584 | for painting_id in _painting_ids_by_item[stringified]: | 584 | for painting_id in _painting_ids_by_item[stringified]: |
585 | var painting_node = real_parent_node.get_node_or_null(painting_id) | 585 | var painting_node = real_parent_node.get_node_or_null(painting_id) |