make SpawnItemsOnUseComponent not require sound field (#19583)

* Update SpawnItemsOnUseComponent.cs

* Update Content.Server/Storage/Components/SpawnItemsOnUseComponent.cs

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
lzk
2023-08-27 23:58:59 +02:00
committed by GitHub
parent f15eb084bd
commit 43ddd242d0

View File

@@ -18,7 +18,7 @@ namespace Content.Server.Storage.Components
/// <summary>
/// A sound to play when the items are spawned. For example, gift boxes being unwrapped.
/// </summary>
[DataField("sound", required: true)]
[DataField("sound")]
public SoundSpecifier? Sound = null;
/// <summary>