Revert the other arch changes (#21871)

This commit is contained in:
metalgearsloth
2023-11-24 11:19:46 +11:00
committed by GitHub
parent 15052bf7c2
commit d4bed09cdc
32 changed files with 108 additions and 309 deletions

View File

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