Remove redundant read-only VV from datafields (#12626)
This commit is contained in:
@@ -14,14 +14,12 @@ namespace Content.Server.Guardian
|
||||
/// <summary>
|
||||
/// Percentage of damage reflected from the guardian to the host
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField("damageShare")]
|
||||
public float DamageShare { get; set; } = 0.85f;
|
||||
|
||||
/// <summary>
|
||||
/// Maximum distance the guardian can travel before it's forced to recall, use YAML to set
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField("distanceAllowed")]
|
||||
public float DistanceAllowed { get; set; } = 5f;
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@ namespace Content.Server.Guardian
|
||||
/// <summary>
|
||||
/// The prototype of the guardian entity which will be created
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField("guardianProto", customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>), required: true)]
|
||||
public string GuardianProto { get; set; } = default!;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user