From 334d1f4a7cbddcae7f2f94dcf4f51c43f1646fb2 Mon Sep 17 00:00:00 2001 From: Anna Date: Thu, 30 Sep 2021 14:50:53 -0400 Subject: [PATCH] fix: generate random sex if sex is unknown --- NominaOcculta/NameRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NominaOcculta/NameRepository.cs b/NominaOcculta/NameRepository.cs index 5d8b837..0ee8162 100755 --- a/NominaOcculta/NameRepository.cs +++ b/NominaOcculta/NameRepository.cs @@ -126,7 +126,7 @@ namespace NominaOcculta { } if (info.sex == 0xFF) { - info.clan = (byte) this.Rng.Next(0, 2); + info.sex = (byte) this.Rng.Next(0, 2); } // get a name for the given info if possible