mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Generate ship groups for carriers. Carriers can be destroyed. Faction need to have carrier available.
This commit is contained in:
@@ -181,7 +181,7 @@ class Event:
|
||||
|
||||
# -- AA Site groups
|
||||
for i, ground_object in enumerate(cp.ground_objects):
|
||||
if ground_object.dcs_identifier == "AA":
|
||||
if ground_object.dcs_identifier in ["AA", "CARRIER"]:
|
||||
for g in ground_object.groups:
|
||||
for u in g.units:
|
||||
if u.name == destroyed_ground_unit_name:
|
||||
|
||||
Reference in New Issue
Block a user