From 1e19afe0e5f65c007668c59d98c9e226ae71b7ca Mon Sep 17 00:00:00 2001 From: RndName Date: Wed, 23 Mar 2022 18:02:34 +0100 Subject: [PATCH] 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. --- game/layout/layout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/layout/layout.py b/game/layout/layout.py index 667c69f5..8baa5856 100644 --- a/game/layout/layout.py +++ b/game/layout/layout.py @@ -247,7 +247,7 @@ class BuildingLayout(TgoLayout): name, self.category, position, - Heading.from_degrees(0), + position.heading, control_point, self.category == "fob", )