From 928c070bda38e4a8b9c02d60fc2383a454bce4e4 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sat, 25 Dec 2021 22:27:55 +1100 Subject: [PATCH] Mark itemID for traitor uplink as an entityprototype (#5898) --- Content.Shared/PDA/UplinkStoreListingPrototype.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Shared/PDA/UplinkStoreListingPrototype.cs b/Content.Shared/PDA/UplinkStoreListingPrototype.cs index ddb59957db..b03a1855be 100644 --- a/Content.Shared/PDA/UplinkStoreListingPrototype.cs +++ b/Content.Shared/PDA/UplinkStoreListingPrototype.cs @@ -1,5 +1,6 @@ using Robust.Shared.Prototypes; using Robust.Shared.Serialization.Manager.Attributes; +using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; using Robust.Shared.Utility; using Robust.Shared.ViewVariables; @@ -12,7 +13,7 @@ namespace Content.Shared.PDA [DataField("id", required: true)] public string ID { get; } = default!; - [DataField("itemId")] + [DataField("itemId", customTypeSerializer:typeof(PrototypeIdSerializer))] public string ItemId { get; } = string.Empty; [DataField("price")]