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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user