]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Make TagComponent networked (#21958)
authorPixelTK <85175107+PixelTheKermit@users.noreply.github.com>
Tue, 28 Nov 2023 23:35:42 +0000 (23:35 +0000)
committerGitHub <noreply@github.com>
Tue, 28 Nov 2023 23:35:42 +0000 (10:35 +1100)
Content.Shared/Tag/TagComponent.cs

index abb79be76249d63ddc00ae3ae1b8e68f8cfc8d4f..b5b8a48a4415da3a69a7e656e409b6d6dbbad711 100644 (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>))]