From 7754e5fd4dc899e38373d00df0c9882cac239098 Mon Sep 17 00:00:00 2001 From: RndName Date: Wed, 11 Aug 2021 20:47:58 +0200 Subject: [PATCH] EWR heading towards conflict (cherry picked from commit bc5ffde) --- changelog.md | 10 ++++++++++ gen/sam/ewrs.py | 6 +++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 35a63842..20fa87d7 100644 --- a/changelog.md +++ b/changelog.md @@ -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. diff --git a/gen/sam/ewrs.py b/gen/sam/ewrs.py index 2ffc93da..854337b6 100644 --- a/gen/sam/ewrs.py +++ b/gen/sam/ewrs.py @@ -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(), )