diff --git a/src/markets/specificMarkets/householdLiquidator.js b/src/markets/specificMarkets/householdLiquidator.js index f819827ae391f5d2694e6b1f9d7255b2a6ecc161..a91c1b283219d704dcd95423d71cf235b6daba9b 100644 --- a/src/markets/specificMarkets/householdLiquidator.js +++ b/src/markets/specificMarkets/householdLiquidator.js @@ -20,10 +20,7 @@ App.Markets["Household Liquidator"] = function() { slave.canRecruit = 0; // Create opposite sex chance of relative - let _oppositeSex = false; - if (slave.genes !== GenerateChromosome()) { - _oppositeSex = true; - } + const _oppositeSex = (slave.genes !== GenerateChromosome()); App.UI.DOM.appendNewElement("p", el, `The household liquidator is offering a set of siblings for sale. You are permitted to inspect both slaves.`); let _relativeSlave = generateRelatedSlave(slave, "younger sibling", _oppositeSex); @@ -59,10 +56,7 @@ App.Markets["Household Liquidator"] = function() { slave.canRecruit = 0; // Create opposite sex chance of relative - let _oppositeSex = false; - if (slave.genes !== GenerateChromosome()) { - _oppositeSex = true; - } + const _oppositeSex = (slave.genes !== GenerateChromosome()); const {his, mother, daughter} = getPronouns(slave); r.push(`The household liquidator is offering a ${mother} and ${his}`);