number of fixes

This commit is contained in:
Vasyl Horbachenko
2018-10-22 02:13:38 +03:00
parent 933e064079
commit 8f4094ee98
7 changed files with 19 additions and 8 deletions

View File

@@ -28,6 +28,9 @@ class GroundObjectsGenerator:
heading -= 90
position = self.conflict.find_ground_position(center.point_from_heading(heading, FARP_FRONTLINE_DISTANCE), heading)
if not position:
return
for i, _ in enumerate(range(0, number_of_units, self.FARP_CAPACITY)):
position = position.point_from_heading(0, i * 275)