diff --git a/Content.Client/Preferences/UI/HumanoidProfileEditor.Random.cs b/Content.Client/Preferences/UI/HumanoidProfileEditor.Random.cs index a01a51ab90..732f674ec6 100644 --- a/Content.Client/Preferences/UI/HumanoidProfileEditor.Random.cs +++ b/Content.Client/Preferences/UI/HumanoidProfileEditor.Random.cs @@ -22,7 +22,7 @@ namespace Content.Client.Preferences.UI private void RandomizeName() { if (Profile == null) return; - var name = Profile.Sex.GetName(Profile.Species, _prototypeManager, _random); + var name = HumanoidCharacterProfile.GetName(Profile.Species, Profile.Gender); SetName(name); UpdateNameEdit(); } diff --git a/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml b/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml index a654ae5359..ec26a26436 100644 --- a/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml +++ b/Content.Client/Preferences/UI/HumanoidProfileEditor.xaml @@ -58,8 +58,7 @@