From: SolStar <44028047+SolStar2@users.noreply.github.com> Date: Wed, 14 May 2025 23:54:34 +0000 (-0400) Subject: Changing sex now properly updates sounds. (#37405) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=e442af720b731579f90820a0f84e850e4aee1cdd;p=space-station-14.git Changing sex now properly updates sounds. (#37405) Load sounds based on new sex in event. --- 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)