diff --git a/src/events/scheduled/murderAttempt.js b/src/events/scheduled/murderAttempt.js index 34c5b04e384545ddbf9413e06c5b7fa5589d1253..df31e5c3bb94fa2bebae9693dd72aa9681ba09fb 100644 --- a/src/events/scheduled/murderAttempt.js +++ b/src/events/scheduled/murderAttempt.js @@ -29,7 +29,7 @@ App.Events.murderAttempt = function() { const {he, He, his, him, woman, himself} = getPronouns((V.arcologies[0].FSGenderFundamentalist !== "unset" || V.seeDicks > random(0, 99)) ? {pronoun: App.Data.Pronouns.Kind.male} : {pronoun: App.Data.Pronouns.Kind.female}); const {womanPC} = getPronouns(V.PC).appendSuffix("PC"); - const {heBG, HeBG, himBG, hisBG} = getPronouns(S.Bodyguard ? S.Bodyguard : {pronoun: App.Data.Pronouns.Kind.female}).appendSuffix("BG"); + let heBG, HeBG, himBG, hisBG; const documentFragment = document.createDocumentFragment(); intro(documentFragment); @@ -132,6 +132,9 @@ App.Events.murderAttempt = function() { } if (S.Bodyguard) { + ({ + heBG, HeBG, himBG, hisBG + } = getPronouns(S.Bodyguard).appendSuffix("BG")); r.push(`Before getting anywhere though, ${he} interrupts ${himself}, gesturing at your bodyguard.`); r.push(`"I'm sorry, this is meant only for your ears, can you please send your bodyguard outside?"`); App.Events.addParagraph(fragment, r);