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

@@ -16,6 +16,10 @@ namespace Content.Server.Power.Components
[ViewVariables(VVAccess.ReadWrite)]
public float DrawRate { get => NetworkLoad.DesiredPower; set => NetworkLoad.DesiredPower = value; }
[DataField("showInMonitor")]
[ViewVariables(VVAccess.ReadWrite)]
public bool ShowInMonitor { get; set; } = true;
/// <summary>
/// How much power this is currently receiving from <see cref="PowerSupplierComponent"/>s.
/// </summary>