Fix disposal router and tagger not saving their tags (#11252)

This commit is contained in:
Julian Giebel
2022-09-13 21:14:21 +02:00
committed by GitHub
parent 2df0f79dea
commit 15a75d5db3
2 changed files with 3 additions and 2 deletions

View File

@@ -18,8 +18,8 @@ namespace Content.Server.Disposal.Tube.Components
[Dependency] private readonly IEntityManager _entMan = default!;
[ViewVariables]
public readonly HashSet<string> Tags = new();
[DataField("tags")]
public HashSet<string> Tags = new();
[ViewVariables]
public bool Anchored =>

View File

@@ -18,6 +18,7 @@ namespace Content.Server.Disposal.Tube.Components
public override string ContainerId => "DisposalTagger";
[ViewVariables(VVAccess.ReadWrite)]
[DataField("tag")]
public string Tag = "";
[ViewVariables]