Fix airtight init rotation. (#7629)
This commit is contained in:
@@ -31,7 +31,7 @@ namespace Content.Server.Atmos.EntitySystems
|
|||||||
|
|
||||||
if (airtight.FixAirBlockedDirectionInitialize)
|
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);
|
OnAirtightRotated(uid, airtight, ref rotateEvent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user