- relaycomponent inherits from powertransfer, so that they're included when calculating the load/power for the grid
- deactivated powertransfer components don't carry power - fixed reactor graph lines going over the graph if load > 10 000
This commit is contained in:
@@ -130,7 +130,7 @@ namespace Barotrauma.Items.Components
|
||||
//if (it.Updated) continue;
|
||||
|
||||
Powered powered = it.GetComponent<Powered>();
|
||||
if (powered == null) continue;
|
||||
if (powered == null || !powered.IsActive) continue;
|
||||
|
||||
if (connectedList.Contains(powered)) continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user