Make the C-130 work. For real this time.

Also separate out SEAD and DEAD taskings. Some aircraft can DEAD but not SEAD.

Also make the recruitment menu use the pretty names in the alphabetical sort func.
This commit is contained in:
Simon Clark
2021-01-17 21:41:02 +00:00
parent 3282ba0302
commit 24a212a987
3 changed files with 17 additions and 6 deletions

View File

@@ -65,7 +65,7 @@ class QAircraftRecruitmentMenu(QFrame, QRecruitBehaviour):
continue
unit_types.add(unit)
sorted_units = sorted(unit_types, key=lambda u: db.unit_type_name_2(u))
sorted_units = sorted(unit_types, key=lambda u: db.unit_pretty_name(self.game_model.game.player_country, u))
for unit_type in sorted_units:
row = self.add_purchase_row(
unit_type, task_box_layout, row,