about summary refs log tree commit diff stats
path: root/apworld/context.py
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-09-29 16:05:48 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-09-29 16:05:48 -0400
commita0eda1c44616652ab360676b500baeeadb204331 (patch)
treee0fcfd146e681162d4de2c2703fef3aa4a1dbbc2 /apworld/context.py
parente8e084bb5117d1cf61cd54772e4eb9042a436cb7 (diff)
downloadlingo2-archipelago-a0eda1c44616652ab360676b500baeeadb204331.tar.gz
lingo2-archipelago-a0eda1c44616652ab360676b500baeeadb204331.tar.bz2
lingo2-archipelago-a0eda1c44616652ab360676b500baeeadb204331.zip
Fix goal reappearing in tracker after relaunch
Diffstat (limited to 'apworld/context.py')
-rw-r--r--apworld/context.py7
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)