diff --git a/Content.Shared/Humanoid/NamingSystem.cs b/Content.Shared/Humanoid/NamingSystem.cs index f3af6b5aa1..eecc192d48 100644 --- a/Content.Shared/Humanoid/NamingSystem.cs +++ b/Content.Shared/Humanoid/NamingSystem.cs @@ -61,7 +61,7 @@ namespace Content.Shared.Humanoid public string GetLastName(SpeciesPrototype speciesProto) { - return Loc.GetString(_random.Pick(_prototypeManager.Index(speciesProto.LastNames).Values)); + return _random.Pick(_prototypeManager.Index(speciesProto.LastNames)); } } }