diff --git a/Barotrauma/BarotraumaShared/Source/Items/Components/Power/PowerTransfer.cs b/Barotrauma/BarotraumaShared/Source/Items/Components/Power/PowerTransfer.cs index 45370c7b0..fabdbf224 100644 --- a/Barotrauma/BarotraumaShared/Source/Items/Components/Power/PowerTransfer.cs +++ b/Barotrauma/BarotraumaShared/Source/Items/Components/Power/PowerTransfer.cs @@ -174,7 +174,14 @@ namespace Barotrauma.Items.Components var connections = item.Connections; foreach (Connection c in connections) { - if (!connectionDirty[c]) continue; + if (!connectionDirty.ContainsKey(c)) + { + connectionDirty[c] = true; + } + else if (!connectionDirty[c]) + { + continue; + } HashSet connected = new HashSet(); if (!connectedRecipients.ContainsKey(c))