From 3baea6856945b21bb2821012292c99f8cc7b52ba Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Mon, 11 Jan 2021 09:58:11 +0100 Subject: [PATCH] Remove weird deletion from SharedStackComponent.cs --- Content.Shared/GameObjects/Components/SharedStackComponent.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Content.Shared/GameObjects/Components/SharedStackComponent.cs b/Content.Shared/GameObjects/Components/SharedStackComponent.cs index 90363daebc..bcd14e0053 100644 --- a/Content.Shared/GameObjects/Components/SharedStackComponent.cs +++ b/Content.Shared/GameObjects/Components/SharedStackComponent.cs @@ -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(); }