]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
fixes items with complex shapes failing to insert sometimes (#38896)
authorlolman360 <22850904+lolman360@users.noreply.github.com>
Thu, 7 Aug 2025 16:01:18 +0000 (02:01 +1000)
committerGitHub <noreply@github.com>
Thu, 7 Aug 2025 16:01:18 +0000 (12:01 -0400)
* 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

Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs

index d2d80a632fa5554572212e78201e6df0c859450c..74c47bbb25023d3820036fbf959db3e0c1b9cddf 100644 (file)
@@ -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
         {