Remove redundant read-only VV from datafields (#12626)
This commit is contained in:
@@ -6,14 +6,13 @@ namespace Content.Server.Shuttles.Components
|
||||
[RegisterComponent]
|
||||
public sealed class DockingComponent : SharedDockingComponent
|
||||
{
|
||||
[ViewVariables]
|
||||
[DataField("dockedWith")]
|
||||
public EntityUid? DockedWith;
|
||||
|
||||
[ViewVariables]
|
||||
public Joint? DockJoint;
|
||||
|
||||
[ViewVariables, DataField("dockJointId")]
|
||||
[DataField("dockJointId")]
|
||||
public string? DockJointId;
|
||||
|
||||
[ViewVariables]
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace Content.Server.Shuttles.Components;
|
||||
[RegisterComponent]
|
||||
public sealed class RecentlyDockedComponent : Component
|
||||
{
|
||||
[ViewVariables, DataField("lastDocked")]
|
||||
[DataField("lastDocked")]
|
||||
public EntityUid LastDocked;
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("radius")]
|
||||
|
||||
@@ -44,7 +44,6 @@ namespace Content.Server.Shuttles.Components
|
||||
[DataField("thrust")]
|
||||
public float Thrust = 750f;
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("thrusterType")]
|
||||
public ThrusterType Type = ThrusterType.Linear;
|
||||
|
||||
@@ -59,9 +58,9 @@ namespace Content.Server.Shuttles.Components
|
||||
/// <summary>
|
||||
/// How much damage is done per second to anything colliding with our thrust.
|
||||
/// </summary>
|
||||
[ViewVariables] [DataField("damage")] public DamageSpecifier? Damage = new();
|
||||
[DataField("damage")] public DamageSpecifier? Damage = new();
|
||||
|
||||
[ViewVariables] [DataField("requireSpace")]
|
||||
[DataField("requireSpace")]
|
||||
public bool RequireSpace = true;
|
||||
|
||||
// Used for burns
|
||||
|
||||
Reference in New Issue
Block a user