From 2daf7da83bc157752d4b1fef41e0c95e8e80bd84 Mon Sep 17 00:00:00 2001 From: Kara D Date: Sun, 23 Jan 2022 12:39:19 -0700 Subject: [PATCH] linter incident --- .../Construction/Prototypes/ConstructionPrototype.cs | 3 ++- Resources/Prototypes/Recipes/Construction/structures.yml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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