Skip to content

Commit

Permalink
LTTP: use server for counting locations instead of having 249/216 (Ar…
Browse files Browse the repository at this point in the history
  • Loading branch information
alwaysintreble authored Apr 10, 2023
1 parent e49ffc6 commit 8d559da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion worlds/alttp/Client.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,9 @@ def new_check(location_id):
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)
Expand Down

0 comments on commit 8d559da

Please sign in to comment.