From bcf3390c88849ebdc16b49830d73da746433169a Mon Sep 17 00:00:00 2001 From: MilenVolf <63782763+MilenVolf@users.noreply.github.com> Date: Sun, 9 Mar 2025 13:06:11 +0300 Subject: [PATCH] Remove unneeded Loc.GetString (#35739) --- Content.Shared/Humanoid/NamingSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } } } -- 2.51.2