diff --git a/Content.Shared/Chemistry/Solution.cs b/Content.Shared/Chemistry/Solution.cs index a1ebe75f26..a3450f166f 100644 --- a/Content.Shared/Chemistry/Solution.cs +++ b/Content.Shared/Chemistry/Solution.cs @@ -12,6 +12,7 @@ using Robust.Shared.Maths; using Robust.Shared.Prototypes; using Robust.Shared.Serialization; using Robust.Shared.Serialization.Manager.Attributes; +using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; using Robust.Shared.Utility; using Robust.Shared.ViewVariables; @@ -327,7 +328,7 @@ namespace Content.Shared.Chemistry [DataDefinition] public readonly struct ReagentQuantity: IComparable { - [DataField("ReagentId")] + [DataField("ReagentId", customTypeSerializer:typeof(PrototypeIdSerializer))] public readonly string ReagentId; [DataField("Quantity")] public readonly ReagentUnit Quantity;