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
No known key found for this signature in database
GPG Key ID: 5EF516FD9537F7C0

View File

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