mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Start 2.4.1, fix #852.
This commit is contained in:
parent
845e7fb956
commit
b71b6473e3
@ -1,3 +1,9 @@
|
||||
# 2.4.1
|
||||
|
||||
## Fixes
|
||||
|
||||
* **[UI]** Budget display is also now rounded to 2 decimal places.
|
||||
|
||||
# 2.4.0
|
||||
|
||||
Saves from 2.3 are not compatible with 2.4.
|
||||
|
||||
@ -35,7 +35,7 @@ class QBudgetBox(QGroupBox):
|
||||
:param budget: Current money available
|
||||
:param reward: Planned reward for next turn
|
||||
"""
|
||||
self.money_amount.setText(str(budget) + "M (+" + str(round(reward,2)) + "M)")
|
||||
self.money_amount.setText(str(round(budget,2)) + "M (+" + str(round(reward,2)) + "M)")
|
||||
|
||||
def setGame(self, game):
|
||||
if game is None:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user