hotfix yaml linter crash (#10566)

This commit is contained in:
Paul Ritter
2022-08-13 23:28:24 +02:00
committed by GitHub
parent 3e17db0a39
commit e812a2bb3d

View File

@@ -13,8 +13,8 @@ namespace Content.Shared.Storage;
public struct EntitySpawnEntry
{
[ViewVariables(VVAccess.ReadWrite)]
[DataField("id", required: true, customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
public string PrototypeId = default!;
[DataField("id", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
public string? PrototypeId;
/// <summary>
/// The probability that an item will spawn. Takes decimal form so 0.05 is 5%, 0.50 is 50% etc.