Changing sex now properly updates sounds. (#37405)
Load sounds based on new sex in event.
This commit is contained in:
parent
7121b464f2
commit
e442af720b
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue