From 32eff7d8d247415c7db7910dfc5040c86efe934c Mon Sep 17 00:00:00 2001 From: Francesco Date: Sun, 30 Oct 2022 19:54:20 +0100 Subject: [PATCH] examining age fix (#12278) --- Content.Server/Humanoid/Systems/HumanoidSystem.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Content.Server/Humanoid/Systems/HumanoidSystem.cs b/Content.Server/Humanoid/Systems/HumanoidSystem.cs index 0cd90643f1..0e2f6f1bd4 100644 --- a/Content.Server/Humanoid/Systems/HumanoidSystem.cs +++ b/Content.Server/Humanoid/Systems/HumanoidSystem.cs @@ -509,10 +509,14 @@ public sealed partial class HumanoidSystem : SharedHumanoidSystem } if (age < speciesPrototype.YoungAge) + { return Loc.GetString("identity-age-young"); + } if (age < speciesPrototype.OldAge) - Loc.GetString("identity-age-middle-aged"); + { + return Loc.GetString("identity-age-middle-aged"); + } return Loc.GetString("identity-age-old"); }