From: MilenVolf <63782763+MilenVolf@users.noreply.github.com> Date: Sun, 9 Mar 2025 10:06:11 +0000 (+0300) Subject: Remove unneeded Loc.GetString (#35739) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=bcf3390c88849ebdc16b49830d73da746433169a;p=space-station-14.git Remove unneeded Loc.GetString (#35739) --- 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)); } } }