Remove redundant read-only VV from datafields (#12626)

This commit is contained in:
DrSmugleaf
2022-11-16 20:22:11 +01:00
committed by GitHub
parent fb892cb374
commit 7fbc2608e8
179 changed files with 171 additions and 462 deletions

View File

@@ -1,4 +1,3 @@
using Content.Shared.Containers.ItemSlots;
using Content.Shared.Power;
namespace Content.Server.Power.Components
@@ -9,11 +8,9 @@ namespace Content.Server.Power.Components
[ViewVariables]
public CellChargerStatus Status;
[ViewVariables]
[DataField("chargeRate")]
public int ChargeRate = 20;
[ViewVariables]
[DataField("slotId", required: true)]
public string SlotId = string.Empty;
}