mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Move armor TGO purchase off find_unittype.
This commit is contained in:
parent
fd85efbf55
commit
622a171ac4
@ -340,11 +340,7 @@ class QBuyGroupForGroundObjectDialog(QDialog):
|
||||
buy_ewr_layout.addLayout(stretch, 2, 0)
|
||||
|
||||
# Armored units
|
||||
|
||||
armored_units = db.find_unittype(
|
||||
PinpointStrike, faction.name
|
||||
) # Todo : refactor this legacy nonsense
|
||||
for unit in set(armored_units):
|
||||
for unit in set(faction.ground_units):
|
||||
self.buyArmorCombo.addItem(
|
||||
db.unit_type_name_2(unit) + " [$" + str(db.PRICES[unit]) + "M]",
|
||||
userData=unit,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user