Hopefully fixed a persistant shitmed error that keeps popping up because it cannot re-parent an entity's grid
This commit is contained in:
parent
29fa901a85
commit
b5412c8df8
|
|
@ -348,7 +348,7 @@ public partial class InventorySystem : EntitySystem
|
|||
|
||||
if (container.ContainedEntity is { } entityUid && TryComp(entityUid, out TransformComponent? transform))
|
||||
{
|
||||
_transform.AttachToGridOrMap(entityUid, transform);
|
||||
_transform.DropNextTo(entityUid, uid);
|
||||
_randomHelper.RandomOffset(entityUid, 0.5f);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue