examining age fix (#12278)

This commit is contained in:
Francesco 2022-10-30 19:54:20 +01:00 committed by GitHub
parent 0c8f54ebce
commit 32eff7d8d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -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");
}