From a0eda1c44616652ab360676b500baeeadb204331 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 29 Sep 2025 16:05:48 -0400 Subject: Fix goal reappearing in tracker after relaunch --- apworld/context.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'apworld/context.py') 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): }) self.manager.game_ctx.send_location_info(locations) - elif cmd == "Received": - if args["key"] == self.victory_data_storage_key: - self.handle_status_update(args["value"]) + elif cmd == "Retrieved": + for k, v in args["keys"].items(): + if k == self.victory_data_storage_key: + self.handle_status_update(v) elif cmd == "SetReply": if args["key"] == self.get_datastorage_key("keyboard1"): self.handle_keyboard_update(1, args) -- cgit 1.4.1