PersonDirectory

This commit is contained in:
2023-04-24 17:12:50 -07:00
parent e5484bdcc5
commit 931f33606d
7 changed files with 110 additions and 96 deletions

View File

@ -251,7 +251,7 @@ internal abstract class GenealogicalDataCommunication
birth = birth.Value.AddHours(hours);
if (age < 1)
birth = null;
if (death is null && (!alive || (age > 110 && !IPersonBirthday.IsCounterPersonBirthday(new(birth.Value)))))
if (birth is not null && death is null && (!alive || (age > 110 && !IPersonBirthday.IsCounterPersonBirthday(new(birth.Value)))))
death = birth;
}
death ??= !genealogicalDataCommunicationLines.Death.Any(l => l == "1 DEAT Y") ? null : birth;