Remove weird deletion from SharedStackComponent.cs
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user