From 7dbd462facacc2d712c9fd4898ee8bc7e287eba3 Mon Sep 17 00:00:00 2001 From: Jeremy Rimpo Date: Sat, 27 Apr 2024 02:02:06 -0500 Subject: [PATCH] Use ? if total body count is unknown (No discovery scan) --- src/load.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/load.py b/src/load.py index 6884bd5..b240ecb 100644 --- a/src/load.py +++ b/src/load.py @@ -1031,7 +1031,7 @@ def format_body(body_name: str) -> str: if text[-1] != '\n': text += '\n' - body_count = this.system.body_count if system_status.honked else len(this.bodies) + 1 + body_count = this.system.body_count if system_status.honked else '?' text += f'B#: {len(this.bodies) + 1}/{body_count} NB#: {this.system.non_body_count}' if this.belt_count: text += f' (Belts: {this.belts_found}/{this.belt_count})'