mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Drop country guard in AC combobox
This commit is contained in:
@@ -146,11 +146,6 @@ class QFactionUnits(QScrollArea):
|
||||
self, cb: QComboBox, callback: Callable, predicate: Callable
|
||||
):
|
||||
for ac_dcs in sorted(AircraftType.each_dcs_type(), key=lambda x: x.id):
|
||||
if (
|
||||
ac_dcs not in self.faction.country.planes
|
||||
and ac_dcs not in self.faction.country.helicopters
|
||||
):
|
||||
continue
|
||||
for ac in AircraftType.for_dcs_type(ac_dcs):
|
||||
if ac in self.faction.aircraft:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user