Make TagComponent networked (#21958)
This commit is contained in:
@@ -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
|
namespace Content.Shared.Tag
|
||||||
{
|
{
|
||||||
[RegisterComponent, Access(typeof(TagSystem))]
|
[RegisterComponent, NetworkedComponent, Access(typeof(TagSystem))]
|
||||||
public sealed partial class TagComponent : Component
|
public sealed partial class TagComponent : Component
|
||||||
{
|
{
|
||||||
[DataField("tags", customTypeSerializer: typeof(PrototypeIdHashSetSerializer<TagPrototype>))]
|
[DataField("tags", customTypeSerializer: typeof(PrototypeIdHashSetSerializer<TagPrototype>))]
|
||||||
|
|||||||
Reference in New Issue
Block a user