mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
This commit is contained in:
parent
a50a6fa917
commit
26743154d8
@ -29,6 +29,7 @@ Saves from 3.x are not compatible with 4.0.
|
||||
* **[UI]** Carriers and LHAs now match the colour of airfields, and their destination icons are translucent.
|
||||
* **[UI]** Updated intel box text for first turn.
|
||||
* **[UI]** Base Capture Cheat is now usable at all bases and can also be used to transfer player-owned bases to OPFOR.
|
||||
* **[UI]** Pass Turn button is relabled as "Begin Campaign" on Turn 0.
|
||||
* **[UI]** Added a ruler to the map.
|
||||
* **[Units/Factions/Mods]** Removes MB-339PAN support, as the mod is now deprecated and no longer works with DCS 2.7+.
|
||||
* **[New Game Wizard]** Mods are now selected via checkboxes in the new game wizard, not as separate factions.
|
||||
|
||||
@ -46,7 +46,10 @@ class QTopPanel(QFrame):
|
||||
self.conditionsWidget = QConditionsWidget()
|
||||
self.budgetBox = QBudgetBox(self.game)
|
||||
|
||||
self.passTurnButton = QPushButton("Pass Turn")
|
||||
pass_turn_text = "Pass Turn"
|
||||
if not self.game or self.game.turn == 0:
|
||||
pass_turn_text = "Begin Campaign"
|
||||
self.passTurnButton = QPushButton(pass_turn_text)
|
||||
self.passTurnButton.setIcon(CONST.ICONS["PassTurn"])
|
||||
self.passTurnButton.setProperty("style", "btn-primary")
|
||||
self.passTurnButton.clicked.connect(self.passTurn)
|
||||
@ -114,6 +117,8 @@ class QTopPanel(QFrame):
|
||||
self.factionsInfos.setGame(game)
|
||||
|
||||
self.passTurnButton.setEnabled(True)
|
||||
if game and game.turn > 0:
|
||||
self.passTurnButton.setText("Pass Turn")
|
||||
|
||||
if game and game.turn == 0:
|
||||
self.proceedButton.setEnabled(False)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user