mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
parent
791aa8b6d1
commit
6d78c1e302
@ -35,7 +35,8 @@ class QBudgetBox(QGroupBox):
|
|||||||
:param budget: Current money available
|
:param budget: Current money available
|
||||||
:param reward: Planned reward for next turn
|
:param reward: Planned reward for next turn
|
||||||
"""
|
"""
|
||||||
self.money_amount.setText(str(budget) + "M (+" + str(reward) + "M)")
|
#self.money_amount.setText(str(budget) + "M (+" + str(reward) + "M)")
|
||||||
|
self.money_amount.setText(str(budget) + "M (+" + str(round(reward,2)) + "M)")
|
||||||
|
|
||||||
def setGame(self, game):
|
def setGame(self, game):
|
||||||
if game is None:
|
if game is None:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user