Merge branch 'main' into multishop
This commit is contained in:
commit
50888eaa6b
|
@ -92,6 +92,7 @@ class Context():
|
|||
self.team = None
|
||||
self.slot = None
|
||||
self.player_names: typing.Dict[int: str] = {}
|
||||
self.locations_recognized = set()
|
||||
self.locations_checked = set()
|
||||
self.locations_scouted = set()
|
||||
self.items_received = []
|
||||
|
@ -1168,7 +1169,8 @@ async def track_locations(ctx : Context, roomid, roomdata):
|
|||
else:
|
||||
items_total = len(ctx.items_missing) + len(ctx.items_checked)
|
||||
if location in ctx.items_missing or location in ctx.items_checked:
|
||||
check = f'New Check: {location} ({len(ctx.locations_checked)}/{items_total})'
|
||||
ctx.locations_recognized.add(location)
|
||||
check = f'New Check: {location} ({len(ctx.locations_recognized)}/{items_total})'
|
||||
|
||||
if check:
|
||||
logger.info(check)
|
||||
|
|
Loading…
Reference in New Issue