mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Only add skynet iads command unit when advanced iads is in use
This commit is contained in:
parent
887e5997c2
commit
09f92cc5e4
@ -104,6 +104,7 @@ class GroundObjectGenerator:
|
|||||||
self.add_trigger_zone_for_scenery(unit)
|
self.add_trigger_zone_for_scenery(unit)
|
||||||
if (
|
if (
|
||||||
self.game.settings.plugin_option("skynetiads")
|
self.game.settings.plugin_option("skynetiads")
|
||||||
|
and self.game.theater.iads_network.advanced_iads
|
||||||
and isinstance(group, IadsGroundGroup)
|
and isinstance(group, IadsGroundGroup)
|
||||||
and group.iads_role.participate
|
and group.iads_role.participate
|
||||||
):
|
):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user