Make TagComponent networked (#21958)

This commit is contained in:
PixelTK
2023-11-28 23:35:42 +00:00
committed by GitHub
parent 3dd8f66d93
commit 03ed3ff37c

View File

@@ -1,8 +1,9 @@
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Set;
using Robust.Shared.GameStates;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Set;
namespace Content.Shared.Tag
{
[RegisterComponent, Access(typeof(TagSystem))]
[RegisterComponent, NetworkedComponent, Access(typeof(TagSystem))]
public sealed partial class TagComponent : Component
{
[DataField("tags", customTypeSerializer: typeof(PrototypeIdHashSetSerializer<TagPrototype>))]