diff --git a/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs b/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs index 0b93b9b762..3a92de1e73 100644 --- a/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs +++ b/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs @@ -819,7 +819,7 @@ public abstract class SharedStorageSystem : EntitySystem { for (var x = storageBounding.Left; x <= storageBounding.Right; x++) { - for (var angle = Angle.Zero; angle <= Angle.FromDegrees(360); angle += Math.PI / 2f) + for (var angle = Angle.FromDegrees(-itemEnt.Comp.StoredRotation); angle <= Angle.FromDegrees(360 - itemEnt.Comp.StoredRotation); angle += Math.PI / 2f) { var location = new ItemStorageLocation(angle, (x, y)); if (ItemFitsInGridLocation(itemEnt, storageEnt, location))