Remove unneeded Loc.GetString (#35739)
This commit is contained in:
parent
8e87485596
commit
eeb2854dec
|
|
@ -72,7 +72,7 @@ namespace Content.Shared.Humanoid
|
|||
|
||||
public string GetLastName(SpeciesPrototype speciesProto)
|
||||
{
|
||||
return Loc.GetString(_random.Pick(_prototypeManager.Index<LocalizedDatasetPrototype>(speciesProto.LastNames).Values));
|
||||
return _random.Pick(_prototypeManager.Index<LocalizedDatasetPrototype>(speciesProto.LastNames));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue