Fix EmptyContainer construction action (#14406)

This commit is contained in:
Leon Friedrich
2023-03-15 13:14:18 +13:00
committed by GitHub
parent 1a9cf49500
commit 24ef92de18
5 changed files with 40 additions and 9 deletions

View File

@@ -131,7 +131,7 @@ namespace Content.Shared.Cuffs
private void OnRejuvenate(EntityUid uid, CuffableComponent component, RejuvenateEvent args)
{
_container.EmptyContainer(component.Container, true, attachToGridOrMap: true);
_container.EmptyContainer(component.Container, true);
}
private void OnCuffsRemovedFromContainer(EntityUid uid, CuffableComponent component, EntRemovedFromContainerMessage args)