Remove redundant read-only VV from datafields (#12626)
This commit is contained in:
@@ -6,19 +6,15 @@ namespace Content.Server.Engineering.Components
|
||||
[RegisterComponent]
|
||||
public sealed class SpawnAfterInteractComponent : Component
|
||||
{
|
||||
[ViewVariables]
|
||||
[DataField("prototype", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
|
||||
public string? Prototype { get; }
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("ignoreDistance")]
|
||||
public bool IgnoreDistance { get; }
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("doAfter")]
|
||||
public float DoAfterTime = 0;
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("removeOnInteract")]
|
||||
public bool RemoveOnInteract = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user