Skip to content

Commit

Permalink
Use ? if total body count is unknown
Browse files Browse the repository at this point in the history
(No discovery scan)
  • Loading branch information
Silarn committed Apr 27, 2024
1 parent 3c846a9 commit 7dbd462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -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})'
Expand Down

0 comments on commit 7dbd462

Please sign in to comment.