mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
minor adjustment in strike objectives generation
This commit is contained in:
@@ -57,7 +57,7 @@ def generate_groundobjects(theater: ConflictTheater):
|
||||
|
||||
if point:
|
||||
for angle in range(0, 360, 45):
|
||||
p = point.point_from_heading(angle, 1000)
|
||||
p = point.point_from_heading(angle, 2500)
|
||||
if on_ground and not theater.is_on_land(p):
|
||||
point = None
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user