mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Don't display attack button for dead base groups
This commit is contained in:
parent
ef585c59dd
commit
be6abc0025
@ -25,7 +25,7 @@ class QBaseDefenseGroupInfo(QGroupBox):
|
||||
|
||||
self.buildLayout()
|
||||
self.main_layout.addLayout(self.unit_layout)
|
||||
if not self.cp.captured:
|
||||
if not self.cp.captured and not self.ground_object.is_dead:
|
||||
attack_button = QPushButton("Attack")
|
||||
attack_button.setProperty("style", "btn-danger")
|
||||
attack_button.setMaximumWidth(180)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user