diff options
Diffstat (limited to 'Archipelago/client.gd')
-rw-r--r-- | Archipelago/client.gd | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Archipelago/client.gd b/Archipelago/client.gd index d3d5053..2aa7bec 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd | |||
@@ -969,6 +969,7 @@ func syncSolvedPanel(panel_index): | |||
969 | var the_panel = get_tree().get_root().get_node("Spatial/Panels").get_node(panel_name) | 969 | var the_panel = get_tree().get_root().get_node("Spatial/Panels").get_node(panel_name) |
970 | 970 | ||
971 | if !the_panel.is_complete: | 971 | if !the_panel.is_complete: |
972 | the_panel.get_node("AP_Panel").solved_remotely = true | ||
972 | the_panel.get_node("Viewport/GUI/Panel/TextEdit").complete() | 973 | the_panel.get_node("Viewport/GUI/Panel/TextEdit").complete() |
973 | else: | 974 | else: |
974 | _held_synced_panels.append(panel_index) | 975 | _held_synced_panels.append(panel_index) |
@@ -1018,8 +1019,11 @@ func checkPainting(painting_id): | |||
1018 | setValue("Paintings", [painting_id], "add") | 1019 | setValue("Paintings", [painting_id], "add") |
1019 | 1020 | ||
1020 | 1021 | ||
1021 | func solvePanel(panel_index): | 1022 | func solvePanel(panel_index, solved_remotely=false): |
1022 | _solved_panels.append(panel_index) | 1023 | _solved_panels.append(panel_index) |
1024 | |||
1025 | if solved_remotely: | ||
1026 | return | ||
1023 | 1027 | ||
1024 | if _map_loaded: | 1028 | if _map_loaded: |
1025 | var key_index = panel_index / kPANEL_BITFIELD_LENGTH | 1029 | var key_index = panel_index / kPANEL_BITFIELD_LENGTH |