mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Merge pull request #238 from walterroach/ter_fix
Fixes issue Khopa#203 TER weapons not selectable in custom payload
This commit is contained in:
commit
035bebaab8
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
## Fixes :
|
## Fixes :
|
||||||
* **[Campaign generator]** Ship group and offshore buildings should not be generated on land anymore
|
* **[Campaign generator]** Ship group and offshore buildings should not be generated on land anymore
|
||||||
|
* **[UI]** Missing TER weapons in custom payload now selectable.
|
||||||
|
|
||||||
# 2.1.5
|
# 2.1.5
|
||||||
|
|
||||||
|
|||||||
@ -11,7 +11,7 @@ class QPylonEditor(QComboBox):
|
|||||||
self.pylon_number = pylon_number
|
self.pylon_number = pylon_number
|
||||||
self.flight = flight
|
self.flight = flight
|
||||||
|
|
||||||
self.possible_loadout = [i for i in self.pylon.__dict__.keys() if i[:1] != '_']
|
self.possible_loadout = [i for i in self.pylon.__dict__.keys() if i[:2] != '__']
|
||||||
|
|
||||||
if not str(self.pylon_number) in self.flight.loadout.keys():
|
if not str(self.pylon_number) in self.flight.loadout.keys():
|
||||||
self.flight.loadout[str(self.pylon_number)] = ""
|
self.flight.loadout[str(self.pylon_number)] = ""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user