mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Base defense units can be controlled with CA.
This commit is contained in:
parent
1346192b75
commit
cd945c625f
@ -78,6 +78,7 @@ class GroundObjectsGenerator:
|
|||||||
vehicle.position.x = u.position.x
|
vehicle.position.x = u.position.x
|
||||||
vehicle.position.y = u.position.y
|
vehicle.position.y = u.position.y
|
||||||
vehicle.heading = u.heading
|
vehicle.heading = u.heading
|
||||||
|
vehicle.player_can_drive = True
|
||||||
vg.add_unit(vehicle)
|
vg.add_unit(vehicle)
|
||||||
else:
|
else:
|
||||||
vg = self.m.ship_group(side, g.name, utype, position=g.position,
|
vg = self.m.ship_group(side, g.name, utype, position=g.position,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user