diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-29 16:05:48 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-29 16:05:48 -0400 |
| commit | a0eda1c44616652ab360676b500baeeadb204331 (patch) | |
| tree | e0fcfd146e681162d4de2c2703fef3aa4a1dbbc2 | |
| parent | e8e084bb5117d1cf61cd54772e4eb9042a436cb7 (diff) | |
| download | lingo2-archipelago-a0eda1c44616652ab360676b500baeeadb204331.tar.gz lingo2-archipelago-a0eda1c44616652ab360676b500baeeadb204331.tar.bz2 lingo2-archipelago-a0eda1c44616652ab360676b500baeeadb204331.zip | |
Fix goal reappearing in tracker after relaunch
| -rw-r--r-- | apworld/context.py | 7 |
1 files changed, 4 insertions, 3 deletions
| diff --git a/apworld/context.py b/apworld/context.py index 0e1a125..ffe2acd 100644 --- a/apworld/context.py +++ b/apworld/context.py | |||
| @@ -369,9 +369,10 @@ class Lingo2ClientContext(CommonContext): | |||
| 369 | }) | 369 | }) |
| 370 | 370 | ||
| 371 | self.manager.game_ctx.send_location_info(locations) | 371 | self.manager.game_ctx.send_location_info(locations) |
| 372 | elif cmd == "Received": | 372 | elif cmd == "Retrieved": |
| 373 | if args["key"] == self.victory_data_storage_key: | 373 | for k, v in args["keys"].items(): |
| 374 | self.handle_status_update(args["value"]) | 374 | if k == self.victory_data_storage_key: |
| 375 | self.handle_status_update(v) | ||
| 375 | elif cmd == "SetReply": | 376 | elif cmd == "SetReply": |
| 376 | if args["key"] == self.get_datastorage_key("keyboard1"): | 377 | if args["key"] == self.get_datastorage_key("keyboard1"): |
| 377 | self.handle_keyboard_update(1, args) | 378 | self.handle_keyboard_update(1, args) |
