mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Generate AA & armor to defend airbase. Destruction status correctly tracked.
This commit is contained in:
@@ -340,7 +340,7 @@ class AircraftConflictGenerator:
|
||||
|
||||
patrolled = []
|
||||
for ground_object in cp.ground_objects:
|
||||
if not ground_object.group_id in patrolled:
|
||||
if not ground_object.group_id in patrolled and not ground_object.airbase_group:
|
||||
group.add_waypoint(ground_object.position, patrol_alt)
|
||||
patrolled.append(ground_object.group_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user