Fix vocalization emotes (#38627)

This commit is contained in:
Tayrtahn
2025-06-27 15:18:27 -04:00
committed by GitHub
parent 69674a1710
commit a09e47e857

View 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]