Set OccludesLight to false for hands and inventory (#3531)
This commit is contained in:
@@ -458,6 +458,7 @@ namespace Content.Server.GameObjects.Components.GUI
|
|||||||
}
|
}
|
||||||
|
|
||||||
var container = ContainerHelpers.CreateContainer<ContainerSlot>(Owner, $"hand {_nextHand++}");
|
var container = ContainerHelpers.CreateContainer<ContainerSlot>(Owner, $"hand {_nextHand++}");
|
||||||
|
container.OccludesLight = false;
|
||||||
var hand = new Hand(this, name, container);
|
var hand = new Hand(this, name, container);
|
||||||
|
|
||||||
_hands.Add(hand);
|
_hands.Add(hand);
|
||||||
|
|||||||
@@ -426,7 +426,9 @@ namespace Content.Server.GameObjects.Components.GUI
|
|||||||
|
|
||||||
Dirty();
|
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();
|
OnItemChanged?.Invoke();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user