Remove redundant read-only VV from datafields (#12626)
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user