Build 0.20.4.0

This commit is contained in:
Markus Isberg
2022-11-11 17:57:23 +02:00
parent edaf4b09fe
commit 54712b5dc9
201 changed files with 7618 additions and 2020 deletions
@@ -1823,7 +1823,18 @@ namespace Barotrauma
Identifier afflictionId = affliction.TranslationIdentifier;
addIfMissing($"afflictionname.{afflictionId}".ToIdentifier(), language);
addIfMissing($"afflictiondescription.{afflictionId}".ToIdentifier(), language);
if (affliction.Descriptions.Any())
{
foreach (var description in affliction.Descriptions)
{
addIfMissing(description.TextTag, language);
}
}
else
{
addIfMissing($"afflictiondescription.{afflictionId}".ToIdentifier(), language);
}
}
foreach (var talentTree in TalentTree.JobTalentTrees)