Merge branch 'master' of https://github.com/Regalis11/Barotrauma
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user