Fix for [20593] (#20663)

This commit is contained in:
Jezithyr
2023-10-01 13:33:18 -07:00
committed by GitHub
parent d832008c07
commit 34d4e9803a
2 changed files with 5 additions and 5 deletions

View File

@@ -56,7 +56,7 @@ public sealed partial class BodyPartComponent : Component
foreach (var slotId in Children.Keys)
{
temp.Add((ContainerSlot) containerSystem.GetContainer(Owner, slotId));
temp.Add((ContainerSlot) containerSystem.GetContainer(Owner, SharedBodySystem.PartSlotContainerIdPrefix+slotId));
}
return temp;
@@ -73,7 +73,7 @@ public sealed partial class BodyPartComponent : Component
foreach (var slotId in Organs.Keys)
{
temp.Add((ContainerSlot) containerSystem.GetContainer(Owner, slotId));
temp.Add((ContainerSlot) containerSystem.GetContainer(Owner, SharedBodySystem.OrganSlotContainerIdPrefix+slotId));
}
return temp;