diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2026-03-01 14:22:12 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2026-03-01 14:22:12 -0500 |
| commit | 6cfd26d5e048d9bb6e0f5e8bd41f566729cd9961 (patch) | |
| tree | d3f58b65a54703813eb19316bf2edce808db9c56 /apworld | |
| parent | eba3b5fcfdf75b9aed02fc5cdc87e0483ae6369b (diff) | |
| download | lingo2-archipelago-6cfd26d5e048d9bb6e0f5e8bd41f566729cd9961.tar.gz lingo2-archipelago-6cfd26d5e048d9bb6e0f5e8bd41f566729cd9961.tar.bz2 lingo2-archipelago-6cfd26d5e048d9bb6e0f5e8bd41f566729cd9961.zip | |
Fix v9.2.1 broken slots
Diffstat (limited to 'apworld')
| -rw-r--r-- | apworld/context.py | 6 |
1 files changed, 4 insertions, 2 deletions
| diff --git a/apworld/context.py b/apworld/context.py index 86392f9..09d8061 100644 --- a/apworld/context.py +++ b/apworld/context.py | |||
| @@ -492,14 +492,16 @@ class Lingo2ClientContext(CommonContext): | |||
| 492 | elif args["key"] == self.get_datastorage_key("keyboard2"): | 492 | elif args["key"] == self.get_datastorage_key("keyboard2"): |
| 493 | self.handle_keyboard_update(2, args) | 493 | self.handle_keyboard_update(2, args) |
| 494 | elif args["key"] == self.get_datastorage_key("worldports"): | 494 | elif args["key"] == self.get_datastorage_key("worldports"): |
| 495 | port_ids = set(Lingo2World.static_logic.port_id_by_ap_id[ap_id] for ap_id in args["value"]) | 495 | port_ids = set(Lingo2World.static_logic.port_id_by_ap_id[ap_id] for ap_id in args["value"] |
| 496 | if ap_id in Lingo2World.static_logic.port_id_by_ap_id) | ||
| 496 | updates = self.manager.update_worldports(port_ids) | 497 | updates = self.manager.update_worldports(port_ids) |
| 497 | if len(updates) > 0: | 498 | if len(updates) > 0: |
| 498 | self.manager.game_ctx.send_update_worldports(updates) | 499 | self.manager.game_ctx.send_update_worldports(updates) |
| 499 | elif args["key"] == self.victory_data_storage_key: | 500 | elif args["key"] == self.victory_data_storage_key: |
| 500 | self.handle_status_update(args["value"]) | 501 | self.handle_status_update(args["value"]) |
| 501 | elif args["key"] == self.get_datastorage_key("latches"): | 502 | elif args["key"] == self.get_datastorage_key("latches"): |
| 502 | door_ids = set(Lingo2World.static_logic.door_id_by_ap_id[ap_id] for ap_id in args["value"]) | 503 | door_ids = set(Lingo2World.static_logic.door_id_by_ap_id[ap_id] for ap_id in args["value"] |
| 504 | if ap_id in Lingo2World.static_logic.door_id_by_ap_id) | ||
| 503 | updates = self.manager.update_latches(door_ids) | 505 | updates = self.manager.update_latches(door_ids) |
| 504 | if len(updates) > 0: | 506 | if len(updates) > 0: |
| 505 | self.manager.game_ctx.send_update_latches(updates) | 507 | self.manager.game_ctx.send_update_latches(updates) |
