EWR heading towards conflict

(cherry picked from commit bc5ffde)
This commit is contained in:
RndName 2021-08-11 20:47:58 +02:00
parent 81058d9e25
commit 7754e5fd4d
No known key found for this signature in database
GPG Key ID: 5EF516FD9537F7C0
2 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,13 @@
# 4.1.2
Saves from 4.1.1 are compatible with 4.1.2.
## Features/Improvements
* **[Mission Generation]** EWRs are now also headed towards the center of the conflict
## Fixes
# 4.1.1
Saves from 4.1.0 are compatible with 4.1.1.

View File

@ -16,7 +16,11 @@ class EwrGenerator(VehicleGroupGenerator[EwrGroundObject]):
def generate(self) -> None:
self.add_unit(
self.unit_type, "EWR", self.position.x, self.position.y, self.heading
self.unit_type,
"EWR",
self.position.x,
self.position.y,
self.heading_to_conflict(),
)