LTTP: use server for counting locations instead of having 249/216 (#1648)

This commit is contained in:
alwaysintreble
2023-04-10 14:12:06 -05:00
committed by GitHub
parent e49ffc64f2
commit 8d559daa35

View File

@@ -331,7 +331,9 @@ async def track_locations(ctx, roomid, roomdata) -> bool:
ctx.locations_checked.add(location_id)
location = ctx.location_names[location_id]
snes_logger.info(
f'New Check: {location} ({len(ctx.locations_checked)}/{len(ctx.missing_locations) + len(ctx.checked_locations)})')
f'New Check: {location} ' +
f'({len(ctx.checked_locations + 1 if ctx.checked_locations else ctx.locations_checked)}/' +
f'{len(ctx.missing_locations) + len(ctx.checked_locations)})')
try:
shop_data = await snes_read(ctx, SHOP_ADDR, SHOP_LEN)