This commit is contained in:
itchyOwl
2018-04-09 09:55:07 +03:00
2 changed files with 7 additions and 3 deletions

View File

@@ -34,6 +34,10 @@
<sprite texture="captainTorso.png" limb="RightArm" sourcerect="30,0,17,42" origin="0.5,0.5" hidelimb="true"/>
<sprite texture="captainTorso.png" limb="LeftArm" sourcerect="30,0,17,42" origin="0.5,0.5" hidelimb="true"/>
</Wearable>
<ItemContainer capacity="5">
<Containable name="smallitem"/>
</ItemContainer>
</Item>
<Item

View File

@@ -383,9 +383,9 @@ namespace Barotrauma.Items.Components
foreach (ItemComponent ic in recipient.Item.components)
{
//powertransfer components don't need to receive the signal because we relay it straight
//to the connected items without going through the whole chain of junction boxes
if (ic is PowerTransfer) continue;
//powertransfer components don't need to receive the signal in the pass-through signal connections
//because we relay it straight to the connected items without going through the whole chain of junction boxes
if (ic is PowerTransfer && connection.Name.Contains("signal")) continue;
ic.ReceiveSignal(stepsTaken, signal, recipient, source, sender, 0.0f);
}