mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Don't generate CP triggers for carriers
This commit is contained in:
parent
da04abf53a
commit
15ed0e733a
@ -141,7 +141,7 @@ class TriggerGenerator:
|
|||||||
Directly appends to the global `base_capture_events` var declared by `dcs_libaration.lua`
|
Directly appends to the global `base_capture_events` var declared by `dcs_libaration.lua`
|
||||||
"""
|
"""
|
||||||
for cp in self.game.theater.controlpoints:
|
for cp in self.game.theater.controlpoints:
|
||||||
if isinstance(cp, self.capture_zone_types):
|
if isinstance(cp, self.capture_zone_types) and not cp.is_carrier:
|
||||||
if cp.captured:
|
if cp.captured:
|
||||||
attacking_coalition = enemy_coalition
|
attacking_coalition = enemy_coalition
|
||||||
attack_coalition_int = 1 # 1 is the Event int for Red
|
attack_coalition_int = 1 # 1 is the Event int for Red
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user