Fix airtight init rotation. (#7629)

This commit is contained in:
Leon Friedrich
2022-04-18 21:51:01 +12:00
committed by GitHub
parent 2457d2c9be
commit e73d80332e

View File

@@ -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);
}