From e73d80332e3d41d1228d8fa1fdb1ceb415b28c73 Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Mon, 18 Apr 2022 21:51:01 +1200 Subject: [PATCH] Fix airtight init rotation. (#7629) --- Content.Server/Atmos/EntitySystems/AirtightSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Atmos/EntitySystems/AirtightSystem.cs b/Content.Server/Atmos/EntitySystems/AirtightSystem.cs index 75f7fff633..8757a6234c 100644 --- a/Content.Server/Atmos/EntitySystems/AirtightSystem.cs +++ b/Content.Server/Atmos/EntitySystems/AirtightSystem.cs @@ -31,7 +31,7 @@ namespace Content.Server.Atmos.EntitySystems if (airtight.FixAirBlockedDirectionInitialize) { - var rotateEvent = new RotateEvent(airtight.Owner, Angle.Zero, xform.WorldRotation, xform); + var rotateEvent = new RotateEvent(airtight.Owner, Angle.Zero, xform.LocalRotation, xform); OnAirtightRotated(uid, airtight, ref rotateEvent); }