[Fix] Sponsors any voice fix (#359)
This commit is contained in:
@@ -627,7 +627,7 @@ namespace Content.Shared.Preferences
|
||||
_traitPreferences.AddRange(traits);
|
||||
|
||||
prototypeManager.TryIndex<TTSVoicePrototype>(Voice, out var voice);
|
||||
if (voice is null || !CanHaveVoice(voice, Sex))
|
||||
if (voice is null)
|
||||
Voice = SharedHumanoidAppearanceSystem.DefaultSexVoice[sex];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user