Update submodule to 182.1.0 (#21900)

This commit is contained in:
metalgearsloth
2023-11-26 13:53:54 +11:00
committed by GitHub
parent 808ed846d1
commit 855ab4d129
34 changed files with 332 additions and 110 deletions

View File

@@ -110,7 +110,7 @@ namespace Content.Shared.Containers.ItemSlots
/// </summary>
public void RemoveItemSlot(EntityUid uid, ItemSlot slot, ItemSlotsComponent? itemSlots = null)
{
if (Terminating(uid) || slot.ContainerSlot == null)
if (TerminatingOrDeleted(uid) || slot.ContainerSlot == null)
return;
slot.ContainerSlot.Shutdown();