diff --git a/changelog.md b/changelog.md index 9c4c7890..0aabf09d 100644 --- a/changelog.md +++ b/changelog.md @@ -6,6 +6,8 @@ Saves from 5.0.0 are compatible with 5.0.1. ## Fixes +* **[Mission Generation]** Fixed mission scripting error when using a dedicated server. + # 5.0.0 Saves from 4.x are not compatible with 5.0. diff --git a/gen/groundobjectsgen.py b/gen/groundobjectsgen.py index 84ef0509..0caeb5ac 100644 --- a/gen/groundobjectsgen.py +++ b/gen/groundobjectsgen.py @@ -600,7 +600,7 @@ class HelipadGenerator: for i, helipad in enumerate(self.cp.helipads): name = self.cp.name + "_helipad_" + str(i) logging.info("Generating helipad static : " + name) - pad = InvisibleFARP(name=name) + pad = InvisibleFARP(unit_id=self.m.next_unit_id(), name=name) pad.position = Point(helipad.x, helipad.y) pad.heading = helipad.heading.degrees sg = unitgroup.StaticGroup(self.m.next_group_id(), name)