Changing sex now properly updates sounds. (#37405)

Load sounds based on new sex in event.
This commit is contained in:
SolStar 2025-05-14 19:54:34 -04:00 committed by GitHub
parent 7121b464f2
commit e442af720b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)