Set OccludesLight to false for hands and inventory (#3531)

This commit is contained in:
ShadowCommander
2021-03-06 02:32:23 -08:00
committed by GitHub
parent 66216c0041
commit 19a8a2c6b8
2 changed files with 4 additions and 1 deletions

View File

@@ -458,6 +458,7 @@ namespace Content.Server.GameObjects.Components.GUI
}
var container = ContainerHelpers.CreateContainer<ContainerSlot>(Owner, $"hand {_nextHand++}");
container.OccludesLight = false;
var hand = new Hand(this, name, container);
_hands.Add(hand);

View File

@@ -426,7 +426,9 @@ namespace Content.Server.GameObjects.Components.GUI
Dirty();
_slotContainers[slot] = ContainerHelpers.CreateContainer<ContainerSlot>(Owner, GetSlotString(slot));
var container = ContainerHelpers.CreateContainer<ContainerSlot>(Owner, GetSlotString(slot));
container.OccludesLight = false;
_slotContainers[slot] = container;
OnItemChanged?.Invoke();