diff --git a/Content.Server/Station/Components/BecomesStationComponent.cs b/Content.Server/Station/Components/BecomesStationComponent.cs index 93cb818529..36432234d1 100644 --- a/Content.Server/Station/Components/BecomesStationComponent.cs +++ b/Content.Server/Station/Components/BecomesStationComponent.cs @@ -2,6 +2,7 @@ using Robust.Shared.Analyzers; using Robust.Shared.GameObjects; using Robust.Shared.Serialization.Manager.Attributes; +using Robust.Shared.ViewVariables; namespace Content.Server.Station; @@ -17,5 +18,6 @@ public class BecomesStationComponent : Component /// scenarios. /// [DataField("id", required: true)] + [ViewVariables(VVAccess.ReadWrite)] public string Id = default!; } diff --git a/Content.Server/Station/Components/PartOfStationComponent.cs b/Content.Server/Station/Components/PartOfStationComponent.cs index f4bc7b3b6b..d6cfcc9472 100644 --- a/Content.Server/Station/Components/PartOfStationComponent.cs +++ b/Content.Server/Station/Components/PartOfStationComponent.cs @@ -2,6 +2,7 @@ using Robust.Shared.Analyzers; using Robust.Shared.GameObjects; using Robust.Shared.Serialization.Manager.Attributes; +using Robust.Shared.ViewVariables; namespace Content.Server.Station; @@ -14,5 +15,6 @@ namespace Content.Server.Station; public class PartOfStationComponent : Component { [DataField("id", required: true)] // does yamllinter even lint maps for required fields? + [ViewVariables(VVAccess.ReadWrite)] public string Id = default!; }