Don't show grilles in the power monitor (#16962)

This commit is contained in:
Pieter-Jan Briers
2023-05-31 00:34:45 +02:00
committed by GitHub
parent 004c2017ff
commit e3ec80b648
3 changed files with 8 additions and 0 deletions

View File

@@ -53,6 +53,9 @@ internal sealed class PowerMonitoringConsoleSystem : EntitySystem
{
foreach (PowerConsumerComponent pcc in netQ.Consumers)
{
if (!pcc.ShowInMonitor)
continue;
loads.Add(LoadOrSource(pcc, pcc.DrawRate, false));
totalLoads += pcc.DrawRate;
}