New game wizard : added to slider to choose starting money

This commit is contained in:
Khopa
2020-10-10 16:21:41 +02:00
parent a0ff78a810
commit f4b07cb518
2 changed files with 32 additions and 18 deletions

View File

@@ -95,11 +95,11 @@ class QTopPanel(QFrame):
if game is None:
return
self.turnCounter.setCurrentTurn(self.game.turn, self.game.current_day)
self.budgetBox.setGame(self.game)
self.factionsInfos.setGame(self.game)
self.turnCounter.setCurrentTurn(game.turn, game.current_day)
self.budgetBox.setGame(game)
self.factionsInfos.setGame(game)
if self.game and self.game.turn == 0:
if game and game.turn == 0:
self.proceedButton.setEnabled(False)
else:
self.proceedButton.setEnabled(True)