Fix rounding of budget in recruitment menu.

Fixes https://github.com/Khopa/dcs_liberation/issues/861.
This commit is contained in:
Dan Albert 2021-02-12 14:00:58 -08:00
parent dce7d91511
commit 5792eb354c
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@ Saves from 2.4 are not compatible with 2.5.
## Fixes
* **[Economy]** Pending ground unit purchases will also be transferred when a connected base is captured.
* **[UI]** Fixed rounding of budget in recruitment menu.
# 2.4.1

View File

@ -28,7 +28,7 @@ class QRecruitBehaviour:
bought_amount_labels = None
maximum_units = -1
recruitable_types = []
BUDGET_FORMAT = "Available Budget: <b>${}M</b>"
BUDGET_FORMAT = "Available Budget: <b>${:.2f}M</b>"
def __init__(self) -> None:
self.bought_amount_labels = {}