From 99191f3aa87b2362516971c1fdd64d21b16f87b7 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 29 Sep 2025 12:31:01 -0400 Subject: Show when goal is reachable in tracker --- apworld/client/client.gd | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apworld/client/client.gd') diff --git a/apworld/client/client.gd b/apworld/client/client.gd index a23e85a..62d7fd8 100644 --- a/apworld/client/client.gd +++ b/apworld/client/client.gd @@ -24,6 +24,7 @@ var _received_items = {} var _slot_data = {} var _accessible_locations = [] var _accessible_worldports = [] +var _goal_accessible = false signal could_not_connect signal connect_status @@ -61,6 +62,7 @@ func _reset_state(): _checked_worldports = [] _accessible_locations = [] _accessible_worldports = [] + _goal_accessible = false func disconnect_from_ap(): @@ -174,6 +176,8 @@ func _on_web_socket_server_message_received(_peer_id: int, packet: String) -> vo for port_id in message["worldports"]: _accessible_worldports.append(int(port_id)) + _goal_accessible = bool(message.get("goal", false)) + accessible_locations_updated.emit() elif cmd == "UpdateKeyboard": -- cgit 1.4.1