From ca297f576e40593e406637a96ca4a35c6a7ab802 Mon Sep 17 00:00:00 2001 From: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> Date: Thu, 30 Jan 2025 14:15:01 +0100 Subject: [PATCH] Serializable emag flags (#34766) * serializable idk * guh --- Content.Shared/Emag/Systems/EmagSystem.cs | 2 ++ Resources/Prototypes/Entities/Objects/Tools/emag.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Content.Shared/Emag/Systems/EmagSystem.cs b/Content.Shared/Emag/Systems/EmagSystem.cs index e6d0e1e653..9626f17719 100644 --- a/Content.Shared/Emag/Systems/EmagSystem.cs +++ b/Content.Shared/Emag/Systems/EmagSystem.cs @@ -8,6 +8,7 @@ using Content.Shared.Interaction; using Content.Shared.Popups; using Content.Shared.Tag; using Robust.Shared.Audio.Systems; +using Robust.Shared.Serialization; namespace Content.Shared.Emag.Systems; @@ -127,6 +128,7 @@ public sealed class EmagSystem : EntitySystem [Flags] +[Serializable, NetSerializable] public enum EmagType : byte { None = 0, diff --git a/Resources/Prototypes/Entities/Objects/Tools/emag.yml b/Resources/Prototypes/Entities/Objects/Tools/emag.yml index 28c007a63f..616772a4fc 100644 --- a/Resources/Prototypes/Entities/Objects/Tools/emag.yml +++ b/Resources/Prototypes/Entities/Objects/Tools/emag.yml @@ -3,7 +3,7 @@ id: EmagUnlimited suffix: Unlimited name: cryptographic sequencer - description: The all-in-one hacking solution. The thinking man's lockpick. The iconic EMAG. + description: The all-in-one hacking solution. Friend of any syndicate. The iconic EMAG. components: - type: Emag - type: Sprite -- 2.51.2