Remove redundant read-only VV from datafields (#12626)
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
using Robust.Shared.Serialization;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Set;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Set;
|
||||
|
||||
namespace Content.Shared.Tag
|
||||
{
|
||||
[RegisterComponent, Access(typeof(TagSystem))]
|
||||
public sealed class TagComponent : Component
|
||||
{
|
||||
[ViewVariables]
|
||||
[DataField("tags", customTypeSerializer: typeof(PrototypeIdHashSetSerializer<TagPrototype>))]
|
||||
[Access(typeof(TagSystem), Other = AccessPermissions.ReadExecute)] // FIXME Friends
|
||||
public readonly HashSet<string> Tags = new();
|
||||
|
||||
Reference in New Issue
Block a user