diff options
Diffstat (limited to 'apworld/client/manager.gd')
-rw-r--r-- | apworld/client/manager.gd | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apworld/client/manager.gd b/apworld/client/manager.gd index e7765dd..3facfba 100644 --- a/apworld/client/manager.gd +++ b/apworld/client/manager.gd | |||
@@ -109,6 +109,7 @@ func _ready(): | |||
109 | client.hint_received.connect(_process_hint_received) | 109 | client.hint_received.connect(_process_hint_received) |
110 | client.accessible_locations_updated.connect(_on_accessible_locations_updated) | 110 | client.accessible_locations_updated.connect(_on_accessible_locations_updated) |
111 | client.checked_locations_updated.connect(_on_checked_locations_updated) | 111 | client.checked_locations_updated.connect(_on_checked_locations_updated) |
112 | client.checked_worldports_updated.connect(_on_checked_worldports_updated) | ||
112 | 113 | ||
113 | client.could_not_connect.connect(_client_could_not_connect) | 114 | client.could_not_connect.connect(_client_could_not_connect) |
114 | client.connect_status.connect(_client_connect_status) | 115 | client.connect_status.connect(_client_connect_status) |
@@ -118,6 +119,7 @@ func _ready(): | |||
118 | 119 | ||
119 | keyboard = SCRIPT_keyboard.new() | 120 | keyboard = SCRIPT_keyboard.new() |
120 | add_child(keyboard) | 121 | add_child(keyboard) |
122 | client.keyboard_update_received.connect(keyboard.remote_keyboard_updated) | ||
121 | 123 | ||
122 | 124 | ||
123 | func saveSettings(): | 125 | func saveSettings(): |
@@ -194,6 +196,7 @@ func _process_item(item, amount): | |||
194 | if gamedata.get_door_map_name(lock[0]) != global.map: | 196 | if gamedata.get_door_map_name(lock[0]) != global.map: |
195 | continue | 197 | continue |
196 | 198 | ||
199 | # TODO: fix doors opening from door groups | ||
197 | var receivers = gamedata.get_door_receivers(lock[0]) | 200 | var receivers = gamedata.get_door_receivers(lock[0]) |
198 | var scene = get_tree().get_root().get_node_or_null("scene") | 201 | var scene = get_tree().get_root().get_node_or_null("scene") |
199 | if scene != null: | 202 | if scene != null: |
@@ -326,6 +329,12 @@ func _on_checked_locations_updated(): | |||
326 | textclient_node.update_locations() | 329 | textclient_node.update_locations() |
327 | 330 | ||
328 | 331 | ||
332 | func _on_checked_worldports_updated(): | ||
333 | var textclient_node = global.get_node("Textclient") | ||
334 | if textclient_node != null: | ||
335 | textclient_node.update_locations() | ||
336 | |||
337 | |||
329 | func _client_could_not_connect(message): | 338 | func _client_could_not_connect(message): |
330 | could_not_connect.emit(message) | 339 | could_not_connect.emit(message) |
331 | 340 | ||