Comment out invalid access tags (#5619)

This commit is contained in:
metalgearsloth
2021-12-01 00:40:46 +11:00
committed by GitHub
parent e910a0728b
commit d0efe50e83
9 changed files with 21 additions and 17 deletions

View File

@@ -1,8 +1,10 @@
using System.Collections.Generic;
using Content.Server.Access.Systems;
using Content.Shared.Access;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Set;
using Robust.Shared.ViewVariables;
namespace Content.Server.Access.Components
@@ -16,7 +18,7 @@ namespace Content.Server.Access.Components
{
public override string Name => "Access";
[DataField("tags")]
[DataField("tags", customTypeSerializer: typeof(PrototypeIdHashSetSerializer<AccessLevelPrototype>))]
[ViewVariables]
public HashSet<string> Tags = new();
}