diff --git a/src/facilities/incubator/incubatorInteract.js b/src/facilities/incubator/incubatorInteract.js index c642f26e7e7233a143379144dae8b4bb2f3ba6f8..deaea3a58b6d211de4038f165444daea6c343cb8 100644 --- a/src/facilities/incubator/incubatorInteract.js +++ b/src/facilities/incubator/incubatorInteract.js @@ -1418,25 +1418,25 @@ App.UI.incubator = function() { if (V.incubatorPregAdaptationPower === 1) { row.append(`Pregnancy adaptation programmed to advanced procedures. Up to triplet pregnancy should be safe for the subjects.`); } else { - linkArray.push(makeLink(`Advanced`, () => { V.incubatorPregAdaptationSetting = 1; }, refresh)); + linkArray.push(makeLink(`Advanced`, () => { V.incubatorPregAdaptationPower = 1; }, refresh)); } if (V.incubatorPregAdaptationPower === 2) { row.append(`Pregnancy adaptation programmed to intensive procedures. Up to octuplet pregnancy should be possible for the subjects. Warning! Side effects may occur to health and mental condition.`); } else { - linkArray.push(makeLink(`Intensive`, () => { V.incubatorPregAdaptationSetting = 2; }, refresh)); + linkArray.push(makeLink(`Intensive`, () => { V.incubatorPregAdaptationPower = 2; }, refresh)); } if (V.incubatorPregAdaptationPower === 3) { row.append(`Pregnancy adaptation programmed to extreme procedures. Normally unsustainable pregnancies may be possible for some subjects. Actual capacity will vary with genetic and other individual conditions. WARNING! Extreme side effects may occur to health and mental condition!`); } else { - linkArray.push(makeLink(`Extreme`, () => { V.incubatorPregAdaptationSetting = 3; }, refresh)); + linkArray.push(makeLink(`Extreme`, () => { V.incubatorPregAdaptationPower = 3; }, refresh)); } if (V.incubatorPregAdaptationPower === 0) { row.append(`Pregnancy adaptation programmed to standard procedures. Normal pregnancy should be safe for subjects.`); } else { - linkArray.push(makeLink(`Standard`, () => { V.incubatorPregAdaptationSetting = 0; }, refresh)); + linkArray.push(makeLink(`Standard`, () => { V.incubatorPregAdaptationPower = 0; }, refresh)); } row.append(App.UI.DOM.generateLinksStrip(linkArray)); App.UI.DOM.appendNewElement("span", row, `Due to the high complexity and steep risks of the procedure, settings will not be changed on tanks in use.`, "note");