-Electrocutions now happen using how much power there is rather than how much is being used.
return false;
var net = powerNet.NetworkNode;
- var supp = net.LastCombinedSupply;
+ var supp = net.LastCombinedMaxSupply;
if (supp <= 0f)
return false;
{
if (id != null &&
_nodeContainer.TryGetNode<Node>(nodeContainer, id, out var tryNode) &&
- tryNode.NodeGroup is IBasePowerNet { NetworkNode: { LastCombinedSupply: > 0 } })
+ tryNode.NodeGroup is IBasePowerNet { NetworkNode: { LastCombinedMaxSupply: > 0 } })
{
return tryNode;
}