mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Fix carrier group generation
This commit is contained in:
parent
e53dc5b80b
commit
eb997db703
@ -412,8 +412,8 @@ class GenericCarrierGenerator(GroundObjectGenerator):
|
||||
ship_units.append(unit)
|
||||
|
||||
if not ship_units:
|
||||
# Empty array (no alive units), stop here
|
||||
return
|
||||
# No alive units in this group, continue with next group
|
||||
continue
|
||||
|
||||
ship_group = self.create_ship_group(group.group_name, ship_units, atc)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user