diff --git a/Content.Server/Destructible/Thresholds/Behaviors/SpawnEntitiesBehavior.cs b/Content.Server/Destructible/Thresholds/Behaviors/SpawnEntitiesBehavior.cs index 82cacfce3d..689bd9b8fa 100644 --- a/Content.Server/Destructible/Thresholds/Behaviors/SpawnEntitiesBehavior.cs +++ b/Content.Server/Destructible/Thresholds/Behaviors/SpawnEntitiesBehavior.cs @@ -1,5 +1,7 @@ using Content.Server.Stack; using Content.Shared.Prototypes; +using Robust.Shared.Prototypes; +using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Dictionary; namespace Content.Server.Destructible.Thresholds.Behaviors { @@ -10,7 +12,7 @@ namespace Content.Server.Destructible.Thresholds.Behaviors /// /// Entities spawned on reaching this threshold, from a min to a max. /// - [DataField("spawn")] + [DataField("spawn", customTypeSerializer:typeof(PrototypeIdDictionarySerializer))] public Dictionary Spawn { get; set; } = new(); [DataField("offset")]