From: lolman360 <22850904+lolman360@users.noreply.github.com> Date: Thu, 7 Aug 2025 16:01:18 +0000 (+1000) Subject: fixes items with complex shapes failing to insert sometimes (#38896) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=3638b2f44e52dbe4e8c20812a9ea98a98b9a9c04;p=space-station-14.git fixes items with complex shapes failing to insert sometimes (#38896) * fixes item insertion bug fixes bug where items with complex shapes would fail to insert if the item's StoredRotation wasn't a right angle * independence from StoredRotation --- diff --git a/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs b/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs index d2d80a632f..74c47bbb25 100644 --- a/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs +++ b/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs @@ -1341,7 +1341,7 @@ public abstract class SharedStorageSystem : EntitySystem Angle startAngle; if (storageEnt.Comp.DefaultStorageOrientation == null) { - startAngle = Angle.FromDegrees(-itemEnt.Comp.StoredRotation); + startAngle = Angle.Zero; } else {