From e442af720b731579f90820a0f84e850e4aee1cdd Mon Sep 17 00:00:00 2001 From: SolStar <44028047+SolStar2@users.noreply.github.com> Date: Wed, 14 May 2025 19:54:34 -0400 Subject: [PATCH] Changing sex now properly updates sounds. (#37405) Load sounds based on new sex in event. --- Content.Server/Speech/EntitySystems/VocalSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Speech/EntitySystems/VocalSystem.cs b/Content.Server/Speech/EntitySystems/VocalSystem.cs index 7c8ec21a94..14fac0bab8 100644 --- a/Content.Server/Speech/EntitySystems/VocalSystem.cs +++ b/Content.Server/Speech/EntitySystems/VocalSystem.cs @@ -49,7 +49,7 @@ public sealed class VocalSystem : EntitySystem private void OnSexChanged(EntityUid uid, VocalComponent component, SexChangedEvent args) { - LoadSounds(uid, component); + LoadSounds(uid, component, args.NewSex); } private void OnEmote(EntityUid uid, VocalComponent component, ref EmoteEvent args) -- 2.51.2