Content arch (#20107)
Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user