fix this thing (#13285)

This commit is contained in:
dontbetank
2023-01-03 08:39:53 +03:00
committed by GitHub
parent 4972d74788
commit 05c02540e6

View File

@@ -5,7 +5,6 @@ using Content.Shared.Hands.Components;
using Content.Shared.Hands.EntitySystems; using Content.Shared.Hands.EntitySystems;
using Content.Shared.Item; using Content.Shared.Item;
using Robust.Shared.Containers; using Robust.Shared.Containers;
using Robust.Shared.Player;
namespace Content.Server.Storage.EntitySystems namespace Content.Server.Storage.EntitySystems
{ {
@@ -29,7 +28,7 @@ namespace Content.Server.Storage.EntitySystems
private void OnDestroyed(EntityUid uid, SecretStashComponent component, DestructionEventArgs args) private void OnDestroyed(EntityUid uid, SecretStashComponent component, DestructionEventArgs args)
{ {
component.ItemContainer.EmptyContainer(); _containerSystem.EmptyContainer(component.ItemContainer, attachToGridOrMap: true);
} }
/// <summary> /// <summary>