From c06daf1af4ea8b0a90e6b0190992ee90df1c1e58 Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Mon, 19 Dec 2022 15:18:58 +1300 Subject: [PATCH] Fix decals not deserializing (#13083) --- Content.Shared/Decals/DecalGridComponent.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Shared/Decals/DecalGridComponent.cs b/Content.Shared/Decals/DecalGridComponent.cs index 1c64699b25..c4ea6cdc1d 100644 --- a/Content.Shared/Decals/DecalGridComponent.cs +++ b/Content.Shared/Decals/DecalGridComponent.cs @@ -1,5 +1,6 @@ using Robust.Shared.GameStates; using Robust.Shared.Serialization; +using Robust.Shared.Serialization.TypeSerializers.Implementations.Generic; using Robust.Shared.Timing; using Robust.Shared.Utility; using static Content.Shared.Decals.DecalGridComponent; @@ -23,7 +24,7 @@ namespace Content.Shared.Decals [Serializable, NetSerializable] public sealed class DecalChunk { - [DataField("decals")] + [IncludeDataField(customTypeSerializer:typeof(DictionarySerializer))] public Dictionary Decals; [NonSerialized]