From 43ddd242d08578963e6d118847c581416c3f96ed Mon Sep 17 00:00:00 2001
From: lzk <124214523+lzk228@users.noreply.github.com>
Date: Sun, 27 Aug 2023 23:58:59 +0200
Subject: [PATCH] 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>
---
Content.Server/Storage/Components/SpawnItemsOnUseComponent.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Content.Server/Storage/Components/SpawnItemsOnUseComponent.cs b/Content.Server/Storage/Components/SpawnItemsOnUseComponent.cs
index 6db9f091d3..4112f0cce0 100644
--- a/Content.Server/Storage/Components/SpawnItemsOnUseComponent.cs
+++ b/Content.Server/Storage/Components/SpawnItemsOnUseComponent.cs
@@ -18,7 +18,7 @@ namespace Content.Server.Storage.Components
///
/// A sound to play when the items are spawned. For example, gift boxes being unwrapped.
///
- [DataField("sound", required: true)]
+ [DataField("sound")]
public SoundSpecifier? Sound = null;
///