From cbdcecba80d3e7e49049596a6867bdf002fe5964 Mon Sep 17 00:00:00 2001 From: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com> Date: Fri, 31 Dec 2021 15:51:13 -0800 Subject: [PATCH] Fix lights being occluded while in inventory (#5972) --- Content.Shared/Inventory/InventorySystem.Slots.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Content.Shared/Inventory/InventorySystem.Slots.cs b/Content.Shared/Inventory/InventorySystem.Slots.cs index 625b8a2eee..fa15414aa9 100644 --- a/Content.Shared/Inventory/InventorySystem.Slots.cs +++ b/Content.Shared/Inventory/InventorySystem.Slots.cs @@ -26,6 +26,7 @@ public partial class InventorySystem : EntitySystem if (!containerComp.TryGetContainer(slotDefinition.Name, out var container)) { containerSlot = containerComp.MakeContainer(slotDefinition.Name); + containerSlot.OccludesLight = false; return true; }