From 53e0509fcb20cc824e3fe5b3d3a826f09fc9c166 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 27 Sep 2025 21:06:32 -0400 Subject: Treat worldports as items for tracker --- apworld/client/manager.gd | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'apworld/client/manager.gd') diff --git a/apworld/client/manager.gd b/apworld/client/manager.gd index afa3ebe..3facfba 100644 --- a/apworld/client/manager.gd +++ b/apworld/client/manager.gd @@ -109,6 +109,7 @@ func _ready(): client.hint_received.connect(_process_hint_received) client.accessible_locations_updated.connect(_on_accessible_locations_updated) client.checked_locations_updated.connect(_on_checked_locations_updated) + client.checked_worldports_updated.connect(_on_checked_worldports_updated) client.could_not_connect.connect(_client_could_not_connect) client.connect_status.connect(_client_connect_status) @@ -195,6 +196,7 @@ func _process_item(item, amount): if gamedata.get_door_map_name(lock[0]) != global.map: continue + # TODO: fix doors opening from door groups var receivers = gamedata.get_door_receivers(lock[0]) var scene = get_tree().get_root().get_node_or_null("scene") if scene != null: @@ -327,6 +329,12 @@ func _on_checked_locations_updated(): textclient_node.update_locations() +func _on_checked_worldports_updated(): + var textclient_node = global.get_node("Textclient") + if textclient_node != null: + textclient_node.update_locations() + + func _client_could_not_connect(message): could_not_connect.emit(message) -- cgit 1.4.1