Material generators from Afterlight (#18387)
This commit is contained in:
@@ -76,8 +76,12 @@ internal sealed class PowerMonitoringConsoleSystem : EntitySystem
|
||||
}
|
||||
foreach (PowerSupplierComponent pcc in netQ.Suppliers)
|
||||
{
|
||||
sources.Add(LoadOrSource(pcc, pcc.MaxSupply, false));
|
||||
totalSources += pcc.MaxSupply;
|
||||
var supply = pcc.Enabled
|
||||
? pcc.MaxSupply
|
||||
: 0f;
|
||||
|
||||
sources.Add(LoadOrSource(pcc, supply, false));
|
||||
totalSources += supply;
|
||||
}
|
||||
foreach (BatteryDischargerComponent pcc in netQ.Dischargers)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user