mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix rounding of budget in recruitment menu.
Fixes https://github.com/Khopa/dcs_liberation/issues/861. (cherry picked from commit 5792eb354cb40d0b6659d18507737af0e8bd62b2)
This commit is contained in:
parent
45300b64c5
commit
fb425d3524
@ -7,6 +7,7 @@
|
||||
## 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
|
||||
|
||||
|
||||
@ -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 = {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user