diff --git a/src/events/reArcologyInspection.js b/src/events/reArcologyInspection.js index 39e794b36a9c3ed0c632a00d23b1acc49adff12d..b4c4a2f56bd270e5d7acfeb55d60d75e561212df 100644 --- a/src/events/reArcologyInspection.js +++ b/src/events/reArcologyInspection.js @@ -443,7 +443,7 @@ App.Events.REArcologyInspection = class REArcologyInspection extends App.Events. } function virginityWarning() { - if (agent.vagina === 0 || agent.anus === 0 || agentLover.vagina === 0 || agentLover.anus === 0) { + if (agent && (agent.vagina === 0 || agent.anus === 0)) { return `This option may take a virginity`; } return null;