Remove weird deletion from SharedStackComponent.cs

This commit is contained in:
Pieter-Jan Briers
2021-01-11 09:58:11 +01:00
parent f7a7303792
commit 3baea68569

View File

@@ -27,10 +27,6 @@ namespace Content.Shared.GameObjects.Components
_count = value;
if (_count <= 0)
{
if (Owner.TryGetContainerMan(out var containerManager))
{
containerManager.Remove(Owner);
}
Owner.Delete();
}