diff --git a/Content.Shared/Stacks/SharedStackSystem.cs b/Content.Shared/Stacks/SharedStackSystem.cs index 8a19365507..8465b8706c 100644 --- a/Content.Shared/Stacks/SharedStackSystem.cs +++ b/Content.Shared/Stacks/SharedStackSystem.cs @@ -34,6 +34,14 @@ namespace Content.Shared.Stacks .AddPath(nameof(SharedStackComponent.Count), (_, comp) => comp.Count, SetCount); } + public override void Shutdown() + { + base.Shutdown(); + + _vvm.GetTypeHandler() + .RemovePath(nameof(SharedStackComponent.Count)); + } + private void OnStackInteractUsing(EntityUid uid, SharedStackComponent stack, InteractUsingEvent args) { if (args.Handled)