fix: generate random sex if sex is unknown
This commit is contained in:
parent
47c02a9d9b
commit
334d1f4a7c
|
@ -126,7 +126,7 @@ namespace NominaOcculta {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (info.sex == 0xFF) {
|
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
|
// get a name for the given info if possible
|
||||||
|
|
Loading…
Reference in New Issue