diff --git a/Content.Shared/Humanoid/NamingSystem.cs b/Content.Shared/Humanoid/NamingSystem.cs index a6d12f8400..6de82a3a37 100644 --- a/Content.Shared/Humanoid/NamingSystem.cs +++ b/Content.Shared/Humanoid/NamingSystem.cs @@ -72,7 +72,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)); } } }