mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Revert an error on sam site generation. (Disabled the wrong code.)
This commit is contained in:
parent
bb11e7f90c
commit
75d836358b
@ -269,15 +269,15 @@ def generate_cp_ground_points(cp: ControlPoint, theater, game, group_id, templat
|
|||||||
g.heading = object["heading"]
|
g.heading = object["heading"]
|
||||||
g.position = Point(point.x + object["offset"].x, point.y + object["offset"].y)
|
g.position = Point(point.x + object["offset"].x, point.y + object["offset"].y)
|
||||||
|
|
||||||
#if g.dcs_identifier == "AA":
|
if g.dcs_identifier == "AA":
|
||||||
# if cp.captured:
|
if cp.captured:
|
||||||
# faction = game.player_name
|
faction = game.player_name
|
||||||
# else:
|
else:
|
||||||
# faction = game.enemy_name
|
faction = game.enemy_name
|
||||||
# g.groups = []
|
g.groups = []
|
||||||
# group = generate_anti_air_group(game, cp, g, faction)
|
group = generate_anti_air_group(game, cp, g, faction)
|
||||||
# if group is not None:
|
if group is not None:
|
||||||
# g.groups.append(group)
|
g.groups.append(group)
|
||||||
|
|
||||||
cp.ground_objects.append(g)
|
cp.ground_objects.append(g)
|
||||||
return group_id
|
return group_id
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user