Skip to content

Commit 9acd5a1

Browse files
authored
Merge pull request #58 from ManualForArchipelago/hinted-locations-crash-old-worlds
Client: Hinted locations without a category key will error
2 parents fa569f2 + fde87ba commit 9acd5a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ManualClient.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ def update_hints(self):
307307
if hint["finding_player"] == self.ctx.slot:
308308
if hint["location"] in self.ctx.missing_locations:
309309
location = self.ctx.get_location_by_id(hint["location"])
310+
location["category"] = location.get("category", [])
310311
if "(Hinted)" not in location["category"]:
311312
location["category"].append("(Hinted)")
312313
rebuild = True

0 commit comments

Comments
 (0)