mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Fix carrier group generation
cherry-pick from eb997db7038368b06b6b75dcbddd7319ae13a74b
This commit is contained in:
parent
bde22b52ea
commit
65a232a0c7
@ -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