Skip to content

Commit

Permalink
Fix SandR breaking the overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
aussig committed Jan 5, 2025
1 parent 62d1ef1 commit fb63f2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
### Bug Fixes:

* The tick time was not being sent in /event API calls.
* Any Search and Rescue (e.g. excape pods) would cause the overlay to stop displaying your work in that system.

### API Changes ([v1.6](https://studio-ws.apicur.io/sharing/xxxxxxxxxxxxxxxxxxxxxxxxxxxx)):

Expand Down
2 changes: 1 addition & 1 deletion bgstally/formatters/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ def _build_sandr(self, sandr_data: dict, discord: bool, lang: str) -> str:
value: int = int(sum(sandr_data.values()))
if value == 0: return ""

return white(__("SandR", lang), fp=fp) + " " + green(value, fp=fp) + " " # LANG: Discord heading, abbreviation for search and rescue
return white(__("SandR", lang), fp=fp) + " " + green(str(value), fp=fp) + " " # LANG: Discord heading, abbreviation for search and rescue


def _build_faction_name(self, faction_name: str) -> str:
Expand Down

0 comments on commit fb63f2c

Please sign in to comment.