Fix lights being occluded while in inventory (#5972)

This commit is contained in:
ShadowCommander 2021-12-31 15:51:13 -08:00 committed by GitHub
parent c5a3515322
commit cbdcecba80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ public partial class InventorySystem : EntitySystem
if (!containerComp.TryGetContainer(slotDefinition.Name, out var container))
{
containerSlot = containerComp.MakeContainer<ContainerSlot>(slotDefinition.Name);
containerSlot.OccludesLight = false;
return true;
}