]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix vocalization emotes (#38627)
authorTayrtahn <tayrtahn@gmail.com>
Fri, 27 Jun 2025 19:18:27 +0000 (15:18 -0400)
committerGitHub <noreply@github.com>
Fri, 27 Jun 2025 19:18:27 +0000 (15:18 -0400)
Content.Shared/Speech/Components/VocalComponent.cs

index 0f62a39d453ce8ede0fc160485f302378ceb050d..3a32a54bb34287f9c7eedfa263ae38879f156dba 100644 (file)
@@ -19,9 +19,9 @@ public sealed partial class VocalComponent : Component
     ///     Emote sounds prototype id for each sex (not gender).
     ///     Entities without <see cref="HumanoidComponent"/> considered to be <see cref="Sex.Unsexed"/>.
     /// </summary>
-    [DataField("sounds", customTypeSerializer: typeof(PrototypeIdValueDictionarySerializer<Sex, EmoteSoundsPrototype>))]
+    [DataField]
     [AutoNetworkedField]
-    public Dictionary<Sex, string>? Sounds;
+    public Dictionary<Sex, ProtoId<EmoteSoundsPrototype>>? Sounds;
 
     [DataField("screamId", customTypeSerializer: typeof(PrototypeIdSerializer<EmotePrototype>))]
     [AutoNetworkedField]