From 867d8cf1bb1610663742c31ef7eb0d9550f2b53e Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 27 May 2023 11:36:08 -0400 Subject: Suppress "AP_Paintings not found" error when no painting shuffle --- Archipelago/client.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): if _painting_ids_by_item.has(stringified): var real_parent_node = get_tree().get_root().get_node("Spatial/Decorations/Paintings") - var fake_parent_node = get_tree().get_root().get_node("Spatial/AP_Paintings") + var fake_parent_node = get_tree().get_root().get_node_or_null("Spatial/AP_Paintings") for painting_id in _painting_ids_by_item[stringified]: var painting_node = real_parent_node.get_node_or_null(painting_id) -- cgit 1.4.1