mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Will now correctly generate Pretense campaigns with CJTF factions.
This commit is contained in:
parent
f4e8e30cb1
commit
00760b831e
@ -135,9 +135,9 @@ class PretenseMissionGenerator(MissionGenerator):
|
||||
self.mission.coalition["red"].add_country(self.e_country)
|
||||
|
||||
# Add CJTF factions to the coalitions, if they're not being used in the campaign
|
||||
if CombinedJointTaskForcesBlue not in {self.p_country, self.e_country}:
|
||||
if CombinedJointTaskForcesBlue.id not in {self.p_country.id, self.e_country.id}:
|
||||
self.mission.coalition["blue"].add_country(CombinedJointTaskForcesBlue())
|
||||
if CombinedJointTaskForcesRed not in {self.p_country, self.e_country}:
|
||||
if CombinedJointTaskForcesRed.id not in {self.p_country.id, self.e_country.id}:
|
||||
self.mission.coalition["red"].add_country(CombinedJointTaskForcesRed())
|
||||
|
||||
belligerents = {self.p_country.id, self.e_country.id}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user