From 8d559daa353892e0af11e5f97d8410f36fae7d3c Mon Sep 17 00:00:00 2001 From: alwaysintreble Date: Mon, 10 Apr 2023 14:12:06 -0500 Subject: [PATCH] LTTP: use server for counting locations instead of having 249/216 (#1648) --- worlds/alttp/Client.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/worlds/alttp/Client.py b/worlds/alttp/Client.py index 3484355db5fa..6d0f9f4d107c 100644 --- a/worlds/alttp/Client.py +++ b/worlds/alttp/Client.py @@ -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)