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
This commit is contained in:
lolman360
2025-08-08 02:01:18 +10:00
committed by GitHub
parent 9528fc4e26
commit 3638b2f44e

View 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
{