diff --git a/src/js/generateGenetics.js b/src/js/generateGenetics.js index 0f0afc00e58a7b7e0cb311bb093267a27327c1a4..dd429417f44902f79494a973e8d90371d6283ac3 100644 --- a/src/js/generateGenetics.js +++ b/src/js/generateGenetics.js @@ -179,7 +179,7 @@ window.generateGenetics = (function() { function setNationality(father, mother) { return (father === 0) ? "Stateless" : (father.nationality === mother.nationality) ? mother.nationality - : "Stateless"; + : "Stateless"; } // race @@ -187,8 +187,8 @@ window.generateGenetics = (function() { let race; if (father !== 0) { race = (mother.origRace === father.origRace) ? mother.origRace - : (jsRandom(1,4)) === 4 ? jsEither([father.origRace, mother.origRace]) - : "mixed race"; + : (jsRandom(1,4)) === 4 ? jsEither([father.origRace, mother.origRace]) + : "mixed race"; } else if (actor2 === -2 || actor2 === -5) { if (V.arcologies[0].FSSupremacist !== "unset") { race = jsEither([mother.origRace, V.arcologies[0].FSSupremacistRace, V.arcologies[0].FSSupremacistRace]);