Use Heading from Campaign miz for Buildings

Like with most other GroundObjects now the Buildings also will use the Heading defined in the campaign miz and will place and rotate the generated TGO accordingly there.
This commit is contained in:
RndName
2022-03-23 18:02:34 +01:00
parent bbb08aa1db
commit 1e19afe0e5

View File

@@ -247,7 +247,7 @@ class BuildingLayout(TgoLayout):
name,
self.category,
position,
Heading.from_degrees(0),
position.heading,
control_point,
self.category == "fob",
)