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,7 +1,9 @@
using System;
using System.Collections.Generic;
using Content.Shared.Access;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
using Robust.Shared.ViewVariables;
namespace Content.Shared.Roles
@@ -54,7 +56,7 @@ namespace Content.Shared.Roles
[DataField("departments")]
public IReadOnlyCollection<string> Departments { get; } = Array.Empty<string>();
[DataField("access")]
[DataField("access", customTypeSerializer: typeof(PrototypeIdListSerializer<AccessLevelPrototype>))]
public IReadOnlyCollection<string> Access { get; } = Array.Empty<string>();
}
}