diff --git a/Content.Shared/Construction/Prototypes/ConstructionPrototype.cs b/Content.Shared/Construction/Prototypes/ConstructionPrototype.cs index 20ea712841..c3dc58a086 100644 --- a/Content.Shared/Construction/Prototypes/ConstructionPrototype.cs +++ b/Content.Shared/Construction/Prototypes/ConstructionPrototype.cs @@ -2,6 +2,7 @@ using Content.Shared.Construction.Conditions; 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; @@ -27,7 +28,7 @@ namespace Content.Shared.Construction.Prototypes /// /// The this construction will be using. /// - [DataField("graph")] + [DataField("graph", customTypeSerializer:typeof(PrototypeIdSerializer))] public string Graph { get; } = string.Empty; /// diff --git a/Resources/Prototypes/Recipes/Construction/structures.yml b/Resources/Prototypes/Recipes/Construction/structures.yml index 329b7bf2a6..4b2e3e66b2 100644 --- a/Resources/Prototypes/Recipes/Construction/structures.yml +++ b/Resources/Prototypes/Recipes/Construction/structures.yml @@ -110,7 +110,7 @@ - type: construction name: tinted window id: TintedWindow - graph: window + graph: Window startNode: start targetNode: tintedWindow category: Structures @@ -328,7 +328,7 @@ - type: construction name: railing corner small - id: RailingCornerSmall + id: RailingCornerSmall graph: Railing startNode: start targetNode: railingCornerSmall