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

@@ -7,11 +7,9 @@ namespace Content.Shared.Nutrition.Components
[RegisterComponent]
public sealed class CreamPieComponent : Component
{
[ViewVariables]
[DataField("paralyzeTime")]
public float ParalyzeTime { get; } = 1f;
[ViewVariables]
[DataField("sound")]
public SoundSpecifier Sound { get; } = new SoundCollectionSpecifier("desecration");

View File

@@ -9,7 +9,6 @@ namespace Content.Shared.Nutrition.Components
[RegisterComponent]
public sealed class SharedButcherableComponent : Component, IDraggable
{
[ViewVariables]
[DataField("spawned", required: true)]
public List<EntitySpawnEntry> SpawnedEntities = new();