Clean up and rename ControlPoint.for_airbase.

This commit is contained in:
Dan Albert
2021-05-30 21:08:12 -07:00
parent 6616359baf
commit 4055b06e71
4 changed files with 11 additions and 24 deletions

View File

@@ -356,7 +356,7 @@ class QBuyGroupForGroundObjectDialog(QDialog):
self.mainLayout = QHBoxLayout()
self.mainLayout.addWidget(self.buySamBox)
if self.ground_object.airbase_group:
if self.ground_object.is_control_point:
self.mainLayout.addWidget(self.buyArmorBox)
self.setLayout(self.mainLayout)