From 3d0bac9cf81a56edc425acb50190b3225f5ca8d6 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Tue, 4 Oct 2022 12:47:36 +1100 Subject: [PATCH] Fix airlock dock rotation (#11581) --- Content.Client/Shuttles/UI/DockingControl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Client/Shuttles/UI/DockingControl.cs b/Content.Client/Shuttles/UI/DockingControl.cs index 7daa9c1898..7fb819f2e7 100644 --- a/Content.Client/Shuttles/UI/DockingControl.cs +++ b/Content.Client/Shuttles/UI/DockingControl.cs @@ -75,7 +75,7 @@ public class DockingControl : Control Angle == null || !_entManager.TryGetComponent(GridEntity, out var gridXform)) return; - var rotation = Matrix3.CreateRotation(Angle.Value); + var rotation = Matrix3.CreateRotation(-Angle.Value + Math.PI); var matrix = Matrix3.CreateTranslation(-Coordinates.Value.Position); // Draw the fixtures around the dock before drawing it