diff options
-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) |