mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Don't spawn flights for the other squadron in generate_pretense_aircraft().
This commit is contained in:
parent
bc27dc4621
commit
bc92a2ade3
@ -240,6 +240,8 @@ class PretenseAircraftGenerator:
|
|||||||
# Intentionally don't spawn anything at OffMapSpawns in Pretense
|
# Intentionally don't spawn anything at OffMapSpawns in Pretense
|
||||||
if isinstance(squadron.location, OffMapSpawn):
|
if isinstance(squadron.location, OffMapSpawn):
|
||||||
continue
|
continue
|
||||||
|
if cp.coalition != squadron.coalition:
|
||||||
|
continue
|
||||||
|
|
||||||
squadron.owned_aircraft += PRETENSE_AI_AIRCRAFT_PER_FLIGHT
|
squadron.owned_aircraft += PRETENSE_AI_AIRCRAFT_PER_FLIGHT
|
||||||
squadron.untasked_aircraft += PRETENSE_AI_AIRCRAFT_PER_FLIGHT
|
squadron.untasked_aircraft += PRETENSE_AI_AIRCRAFT_PER_FLIGHT
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user