From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Thu, 7 Dec 2023 21:46:51 +0000 (-0500) Subject: Fix inventory enumerator resolve error (#22227) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=5f2a4f970c9925e955ec6ba2ab5949908ae91f5a;p=space-station-14.git Fix inventory enumerator resolve error (#22227) --- diff --git a/Content.Shared/Inventory/InventorySystem.Slots.cs b/Content.Shared/Inventory/InventorySystem.Slots.cs index 68b659c0e9..65b050c1c4 100644 --- a/Content.Shared/Inventory/InventorySystem.Slots.cs +++ b/Content.Shared/Inventory/InventorySystem.Slots.cs @@ -87,7 +87,7 @@ public partial class InventorySystem : EntitySystem public bool TryGetContainerSlotEnumerator(Entity entity, out InventorySlotEnumerator containerSlotEnumerator, SlotFlags flags = SlotFlags.All) { - if (!Resolve(entity.Owner, ref entity.Comp)) + if (!Resolve(entity.Owner, ref entity.Comp, false)) { containerSlotEnumerator = default; return false;