fix this thing (#13285)
This commit is contained in:
parent
4972d74788
commit
05c02540e6
|
|
@ -5,7 +5,6 @@ using Content.Shared.Hands.Components;
|
|||
using Content.Shared.Hands.EntitySystems;
|
||||
using Content.Shared.Item;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.Player;
|
||||
|
||||
namespace Content.Server.Storage.EntitySystems
|
||||
{
|
||||
|
|
@ -29,7 +28,7 @@ namespace Content.Server.Storage.EntitySystems
|
|||
|
||||
private void OnDestroyed(EntityUid uid, SecretStashComponent component, DestructionEventArgs args)
|
||||
{
|
||||
component.ItemContainer.EmptyContainer();
|
||||
_containerSystem.EmptyContainer(component.ItemContainer, attachToGridOrMap: true);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Reference in New Issue